style/inline title: handle empty icons when the icon selection is disabled

This commit is contained in:
Adorian Doran 2025-12-17 01:11:23 +02:00
parent 84f7ae9f05
commit c31f35dbd7

View File

@ -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);
}