From d47a55d23a39dfb93fe2c65fec49e4755f4a3c5b Mon Sep 17 00:00:00 2001 From: Davi Alexandre Date: Thu, 8 Apr 2021 15:24:19 -0300 Subject: [PATCH] Avoid resetting all background properties on note-icons (#1834) This ensures only the background-color property will be changed transparent, avoiding to reset any other properties (background-image, for example) that might have been set by some custom CSS rules applied in combination with #iconClass --- src/public/app/widgets/note_icon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/widgets/note_icon.js b/src/public/app/widgets/note_icon.js index dd04d0601..8d101cb84 100644 --- a/src/public/app/widgets/note_icon.js +++ b/src/public/app/widgets/note_icon.js @@ -12,7 +12,7 @@ const TPL = ` .note-icon-container button.note-icon { font-size: 180%; - background: transparent; + background-color: transparent; border: 1px solid transparent; cursor: pointer; padding: 6px;