Skip to content

Commit

Permalink
Introduce some :is usage in the debugger CSS
Browse files Browse the repository at this point in the history
Also adds one more instance of `:is` in the `web/annotation_editor_layer_builder.css` file.
  • Loading branch information
Snuffleupagus committed Apr 19, 2023
1 parent 58b5eb8 commit 3e05d7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions web/annotation_editor_layer_builder.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@
resize: horizontal;
}

.annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor),
.annotationEditorLayer .inkEditor:hover:not(.selectedEditor) {
.annotationEditorLayer
:is(.freeTextEditor, .inkEditor):hover:not(.selectedEditor) {
outline: var(--hover-outline);
}

Expand Down
7 changes: 2 additions & 5 deletions web/debugger.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
*/

#PDFBug,
#PDFBug input,
#PDFBug button,
#PDFBug select {
#PDFBug :is(input, button, select) {
font: message-box;
}
#PDFBug {
Expand Down Expand Up @@ -67,8 +65,7 @@
text-align: center;
}
#PDFBug table.showText,
#PDFBug table.showText tr,
#PDFBug table.showText td {
#PDFBug table.showText :is(tr, td) {
border: 1px solid black;
padding: 1px;
}
Expand Down

0 comments on commit 3e05d7e

Please sign in to comment.