Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3e05d7e

Browse files
committed
Introduce some :is usage in the debugger CSS
Also adds one more instance of `:is` in the `web/annotation_editor_layer_builder.css` file.
1 parent 58b5eb8 commit 3e05d7e

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

web/annotation_editor_layer_builder.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@
137137
resize: horizontal;
138138
}
139139

140-
.annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor),
141-
.annotationEditorLayer .inkEditor:hover:not(.selectedEditor) {
140+
.annotationEditorLayer
141+
:is(.freeTextEditor, .inkEditor):hover:not(.selectedEditor) {
142142
outline: var(--hover-outline);
143143
}
144144

web/debugger.css

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
*/
1515

1616
#PDFBug,
17-
#PDFBug input,
18-
#PDFBug button,
19-
#PDFBug select {
17+
#PDFBug :is(input, button, select) {
2018
font: message-box;
2119
}
2220
#PDFBug {
@@ -67,8 +65,7 @@
6765
text-align: center;
6866
}
6967
#PDFBug table.showText,
70-
#PDFBug table.showText tr,
71-
#PDFBug table.showText td {
68+
#PDFBug table.showText :is(tr, td) {
7269
border: 1px solid black;
7370
padding: 1px;
7471
}

0 commit comments

Comments
 (0)