commit | a057d50a50b6bfeecf32753a85a431ca625e5e9b | [log] [tgz] |
---|---|---|
author | Ben Rohlfs <brohlfs@google.com> | Fri Jan 13 08:48:00 2023 +0100 |
committer | Ben Rohlfs <brohlfs@google.com> | Fri Jan 13 08:48:00 2023 +0100 |
tree | 11af6a035eab377c96cb8631b91fe05bf2056f4e | |
parent | 674fddd6af76fff5a98146d906d5aef9cee3a10f [diff] |
Do not wrap the header title If the `--header-title-content` is something like `gerrit-premium`, then on small screens we would wrap at the dash. Let's never wrap within the title. Release-Notes: skip Change-Id: I63c68a4225a60f05709c946a0d56effe58ccdc63
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 b1ff749..833a91a 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
@@ -219,6 +219,7 @@ } .titleText::after { content: var(--header-title-content); + white-space: nowrap; } ul { list-style: none;