Skip to content

fix(navbar): resolve logo collapse on theme toggle and improve toggle… - #747

Merged
ashley-cui merged 1 commit into
containers:mainfrom
portgasdyamato:fix-navbar-theme-toggle
Sep 16, 2026
Merged

ashley-cui merged 1 commit into
containers:mainfrom
portgasdyamato:fix-navbar-theme-toggle

Conversation

@portgasdyamato

Copy link
Copy Markdown
Collaborator

Resolve logo collapse on theme toggle and improve toggle hover contrast

fixes: #745 #702

  • Define explicit aspect-ratio and dimensions on .navbar__logo and its img to prevent layout shift and title collapse during theme switch (fixes [Bug]: Navbar logo and text collapse on theme toggle #702)
  • Add translucent hover/focus-visible background for navbar theme toggle button to ensure clear visibility and contrast for the sun icon

… hover contrast

- Define explicit aspect-ratio and dimensions on .navbar__logo and its img to prevent layout shift and title collapse during theme switch (fixes containers#702)
- Add translucent hover/focus-visible background for navbar theme toggle button to ensure clear visibility and contrast for the sun icon

Signed-off-by: pippo <sakshiagrahari2004@gmail.com>
@ashley-cui

Copy link
Copy Markdown
Member

LGTM, thanks!

@portgasdyamato
portgasdyamato marked this pull request as ready for review September 15, 2026 20:51
@ashley-cui
ashley-cui merged commit 31578de into containers:main Sep 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: fix theme toggle visibility on hover state [Bug]: Navbar logo and text collapse on theme toggle

2 participants