| commit | cd0e9b96fbb607982b881b03361f7a27fb54205d | [log] [tgz] |
|---|---|---|
| author | Dhruv Srivastava <dhruvsri@google.com> | Mon Nov 03 10:09:40 2025 +0530 |
| committer | Dhruv Srivastava <dhruvsri@google.com> | Sun Nov 02 20:43:51 2025 -0800 |
| tree | a6eda32447002e0a05148cb698579d36e23ddf18 | |
| parent | e274d389290702e48cc69f349c63af2f27f83b8b [diff] |
Fix overflow of the title links on a small window Release-Notes: skip Bug: Google b/457064200 Change-Id: Ic84535c73d6cd962704f0ae56a0df1cf785ecb94
diff --git a/polygerrit-ui/app/elements/core/gr-main-header/gr-main-header.ts b/polygerrit-ui/app/elements/core/gr-main-header/gr-main-header.ts index 6bc44b0..760691b 100644 --- a/polygerrit-ui/app/elements/core/gr-main-header/gr-main-header.ts +++ b/polygerrit-ui/app/elements/core/gr-main-header/gr-main-header.ts
@@ -246,6 +246,11 @@ list-style: none; padding-left: var(--spacing-l); } + /* Prevents the links from overflowing onto the next line when width is reduced. */ + .links { + whitespace: no-wrap; + overflow: auto; + } nav.hideOnMobile .links > li { cursor: default; display: inline-block;