Skip to content

Commit db88ca3

Browse files
committed
Explain the unreadable selector
1 parent 64da5e6 commit db88ca3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/editor.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,13 @@
7575
border-bottom-left-radius: 4px;
7676
}
7777

78+
/* Cancel rounded borders on the left side for second to last button in group */
7879
.prose-menubar__button:not(.hidden) ~ .prose-menubar__button:not(.hidden) {
7980
border-top-left-radius: 0;
8081
border-bottom-left-radius: 0;
8182
}
8283

84+
/* Find last button in group (the button which doesn't have a following button) */
8385
.prose-menubar__button:not(.hidden):not(
8486
:has(~ .prose-menubar__button:not(.hidden))
8587
) {

0 commit comments

Comments
 (0)