summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaladox none <thomasmulhall410@yahoo.com>2024-04-15 14:33:09 +0000
committerPaladox none <thomasmulhall410@yahoo.com>2024-04-15 14:45:09 +0000
commit56a18465bad6201c39de813f6fc39277fdc7b79a (patch)
treed4b15f85ddcae658564753a990c1589ad0e7cccf
parent01f3bdbe78c6baa9f2d42b7520003fb510bf48a7 (diff)
Fix buttons on header disappearing
I'm not sure if there's a better fix to this (it's kinda ugly) but it at least prevents the buttons from disappearing. The login button was disappearing when the title was big enough. The correct fix would be to redesign the header to use a nav bar that works on mobile e.g. using a hamburger icon and having a menu that comes out. That's a bigger change. Release-Notes: Fix buttons on header disappearing Change-Id: I9da124be1ecd911cb16803fe709fb23a0860cd9e (cherry picked from commit 9debe8c497697f93abf4fb311789ac7bf4b2369c)
-rw-r--r--polygerrit-ui/app/elements/core/gr-main-header/gr-main-header.ts1
1 files changed, 1 insertions, 0 deletions
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 34950b013f..58c10f953c 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
@@ -205,6 +205,7 @@ export class GrMainHeader extends LitElement {
nav {
align-items: center;
display: flex;
+ flex-wrap: wrap;
}
.bigTitle {
color: var(--header-text-color);