From 9587202d5a8e678a8576ba3fa80344a788c3d005 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 23 Jan 2021 15:21:56 -0500 Subject: [PATCH] Fix menu items not being hidden properly (#1297) --- ext/mixed/css/material.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);