From c31f35dbd79cf6219cb5f63d8189cc1156427076 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Wed, 17 Dec 2025 01:11:23 +0200 Subject: [PATCH] style/inline title: handle empty icons when the icon selection is disabled --- apps/client/src/widgets/note_icon.css | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/client/src/widgets/note_icon.css b/apps/client/src/widgets/note_icon.css index 43709b715..ebf637df1 100644 --- a/apps/client/src/widgets/note_icon.css +++ b/apps/client/src/widgets/note_icon.css @@ -98,7 +98,7 @@ body.experimental-feature-new-layout { } /* The background circle */ - &::after { + &:not(.bx-empty:disabled)::after { content: ""; position: absolute; inset: 0; @@ -106,12 +106,6 @@ body.experimental-feature-new-layout { background: var(--note-icon-button-background-color); } - - &:hover::after { - background: var(--note-icon-button-hover-background-color); - transition: background 200ms ease-out; - } - &:focus-visible { outline: 2px solid var(--note-icon-button-color); }