summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaladox none <thomasmulhall410@yahoo.com>2022-11-18 20:23:00 +0000
committerPaladox none <thomasmulhall410@yahoo.com>2022-12-15 23:40:13 +0000
commitdb26113f4a71bcf64be403bfd2d71d5a25118c04 (patch)
tree8c867d650341006f460b9b0a7b6da4b7c3f25009
parent982fb9bb01f6f7be3e3a9a0c4055818a9b3194dd (diff)
Wrap #mobileSearch in a div
On wikimedia there seems to be an issue where the search button is hidden even though the rules execute to make it show. I cannot figure out why exactly this happens but wrapping it in a div fixed the issue for me. Release-Notes: Wrap #mobileSearch in a div Change-Id: I42049c68d4dbdde1121eb0b5c0a2a5a7f36d0a4f (cherry picked from commit 66804a94a007ccb40b1684e1765e148bf72d17e1)
-rw-r--r--polygerrit-ui/app/elements/core/gr-main-header/gr-main-header_html.ts16
1 files changed, 9 insertions, 7 deletions
diff --git a/polygerrit-ui/app/elements/core/gr-main-header/gr-main-header_html.ts b/polygerrit-ui/app/elements/core/gr-main-header/gr-main-header_html.ts
index b623e8e76d..9ea9dc1f13 100644
--- a/polygerrit-ui/app/elements/core/gr-main-header/gr-main-header_html.ts
+++ b/polygerrit-ui/app/elements/core/gr-main-header/gr-main-header_html.ts
@@ -223,13 +223,15 @@ export const htmlTemplate = html`
</gr-endpoint-decorator>
</div>
<div class="accountContainer" id="accountContainer">
- <iron-icon
- id="mobileSearch"
- icon="gr-icons:search"
- on-click="_onMobileSearchTap"
- role="button"
- aria-label="[[_computeShowHideAriaLabel(mobileSearchHidden)]]"
- ></iron-icon>
+ <div>
+ <iron-icon
+ id="mobileSearch"
+ icon="gr-icons:search"
+ on-click="_onMobileSearchTap"
+ role="button"
+ aria-label="[[_computeShowHideAriaLabel(mobileSearchHidden)]]"
+ ></iron-icon>
+ </div>
<div
class="registerDiv"
hidden="[[_computeRegisterHidden(_registerURL)]]"