You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,mentors- @ashley-cui@TomSweeneyRedHat
When toggling between light and dark theme, the navbar logo and "podman" text briefly collapse/shrink, appearing unstable. The image and text momentarily misalign before settling.
Steps to reproduce
Go to podman.io
Click the theme toggle button (light/dark)
Observe the navbar logo and text
Repeat multiple times
->Expected behavior -Logo and text should remain stable and properly aligned when toggling theme — no collapse, shrinking, or layout shift.
->Actual behavior - Logo container loses explicit width during re-render - "podman" text collapses into logo space Layout momentarily breaks before correcting .
->Root cause -The .navbar__logo container has only height but no explicit width constraint. During theme toggle, the brief re-render causes the image to lose its computed width, triggering the collapse. The img element inside also lacks fixed dimensions.
Environment - Browser: Chrome, Safari, Firefox (all affected) - Device: Desktop and mobile
Upload screenshots or screen recordings
Before fix (bug visible)
Video.Project.10.1.mp4
After fix (stable)
screen-capture.2.webm
LLM Policy
This issue is human-written, and folow up comments will also be human-written
Hi,mentors- @ashley-cui @TomSweeneyRedHat
When toggling between light and dark theme, the navbar logo and "podman" text briefly collapse/shrink, appearing unstable. The image and text momentarily misalign before settling.
Steps to reproduce
->Expected behavior -Logo and text should remain stable and properly aligned when toggling theme — no collapse, shrinking, or layout shift.
->Actual behavior - Logo container loses explicit width during re-render - "podman" text collapses into logo space Layout momentarily breaks before correcting .
->Root cause -The
.navbar__logocontainer has onlyheightbut no explicitwidthconstraint. During theme toggle, the brief re-render causes the image to lose its computed width, triggering the collapse. Theimgelement inside also lacks fixed dimensions.Environment - Browser: Chrome, Safari, Firefox (all affected) - Device: Desktop and mobile
Upload screenshots or screen recordings
Before fix (bug visible)
Video.Project.10.1.mp4
After fix (stable)
screen-capture.2.webm
LLM Policy