Skip to content

Fix left-padding of language menu in a foldable sidebar#2339

Merged
chalin merged 1 commit intogoogle:mainfrom
chalin:chalin-m24-sidebar-lang-menu-format-2025-1016
Oct 16, 2025
Merged

Fix left-padding of language menu in a foldable sidebar#2339
chalin merged 1 commit intogoogle:mainfrom
chalin:chalin-m24-sidebar-lang-menu-format-2025-1016

Conversation

@chalin
Copy link
Collaborator

@chalin chalin commented Oct 16, 2025

Screenshot

image
@chalin chalin added the design/style Front-end site design / styling label Oct 16, 2025
Comment on lines -45 to 46
<div class="td-sidebar-nav__section nav-item dropdown d-block d-lg-none">
<div class="td-sidebar-nav__section nav-item d-block d-lg-none">
{{ partial "navbar-lang-selector.html" . }}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The .dropdown style is applied to a div inside "navbar-lang-selector.html":

<div class="td-lang-menu dropdown">

So we don't need it on this element too.


.ul-1 > li {
.ul-1 > li,
.dropdown {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add left padding for dropdown in a foldable sidebar.

@chalin chalin merged commit d8f54d5 into google:main Oct 16, 2025
11 checks passed
@chalin chalin deleted the chalin-m24-sidebar-lang-menu-format-2025-1016 branch October 16, 2025 14:34
@chalin chalin added this to the 25Q4 milestone Nov 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

design/style Front-end site design / styling

1 participant