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:25 +0000
commit7e93b969234d6b89b49db5a909f68696ebdf7368 (patch)
treecd1e30cfc09853d14929e858c87d2bbd5d41d356
parent639051d51e1b35c612514001b7ea9943aac50dec (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 2c6de04729..d5765b2f9e 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
@@ -194,6 +194,7 @@ export class GrMainHeader extends LitElement {
nav {
align-items: center;
display: flex;
+ flex-wrap: wrap;
}
.bigTitle {
color: var(--header-text-color);