From 9647bd98914f79b37bf1a3ff27ad9a0b6ed34e8f Mon Sep 17 00:00:00 2001 From: Sean Martin Date: Mon, 28 Oct 2024 15:22:50 +0100 Subject: [PATCH] fix: apply styling to children of screenshot menu --- src/ui/screenshot_menu.css | 47 ++++++++++++++++++++------------------ 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/src/ui/screenshot_menu.css b/src/ui/screenshot_menu.css index 6faedf0b6b..249150e2c3 100644 --- a/src/ui/screenshot_menu.css +++ b/src/ui/screenshot_menu.css @@ -33,28 +33,31 @@ overflow-x: hidden; overflow-y: auto; } -.neuroglancer-screenshot-overlay div, -span, -a, -img, -h1, -h2, -h3, -h4, -h5, -h6, -p, -form, -input, -textarea, -select, -strong, -table, -tr, -td, -th, -tbody, -button { +.neuroglancer-screenshot-overlay + :is( + div, + span, + a, + img, + h1, + h2, + h3, + h4, + h5, + h6, + p, + form, + input, + textarea, + select, + strong, + table, + tr, + td, + th, + tbody, + button + ) { box-sizing: border-box; outline: 0; }