Add comment explaining CSS rule to hide menuitem icons on macOS

This commit is contained in:
Dan Stillman 2022-05-26 04:04:33 -04:00
parent 0e1a16b96b
commit 3c9dcea46b

View file

@ -366,6 +366,8 @@ treechildren::-moz-tree-image {
list-style-image: url('chrome://zotero/skin/mac/toolbar-note-add.png');
}
/* Hide icons on macOS. We use :is() to work around weird behavior in Fx101 where a regular child
selector doesn't match the first time the menu is opened. */
:is(#zotero-collectionmenu, #zotero-itemmenu) > :is(.menuitem-iconic, .menu-iconic) {
list-style-image: none !important;
}