summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-23 15:21:56 -0500
committerGitHub <noreply@github.com>2021-01-23 15:21:56 -0500
commit9587202d5a8e678a8576ba3fa80344a788c3d005 (patch)
tree46204158a704f5aee087b78c8dc922b2c9dd5b4d
parent323c2e8bf3b51c0852fa0082e5549cc5a6fe2da0 (diff)
Fix menu items not being hidden properly (#1297)
-rw-r--r--ext/mixed/css/material.css4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/mixed/css/material.css b/ext/mixed/css/material.css
index 6846c187..6d56edfc 100644
--- a/ext/mixed/css/material.css
+++ b/ext/mixed/css/material.css
@@ -935,9 +935,11 @@ button.popup-menu-item {
font-size: 1em;
font-weight: normal;
font-family: inherit;
- display: flex;
align-items: center;
}
+button.popup-menu-item:not([hidden]) {
+ display: flex;
+}
button.popup-menu-item:hover:not(:disabled),
button.popup-menu-item:focus:not(:disabled) {
background-color: var(--menu-item-hover-color);