Skip to content

Commit

Permalink
remove unused .tsmb-form--slash::after style
Browse files Browse the repository at this point in the history
Follows-up ca5519d, which moved this from applying last,
in a media query, to hide the keyboard short cut on narrow viewports
(likely touchscreen devices); to instead apply before the actual style
unconditionally, thus never actually applying as it is immediately
overriden by another style right below it.

The default for `::after`, is already to not exist / be hidden.

Ref #2.
  • Loading branch information
Krinkle committed Aug 22, 2024
1 parent 096623d commit e32a86e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions typesense-minibar.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,6 @@ typesense-minibar form::before {
display: block !important;
}

.tsmb-form--slash::after {
display: none;
}

.tsmb-form--slash:not(.tsmb-form--open):not(:focus-within)::after {
content: '/';
display: inline-block;
Expand Down

0 comments on commit e32a86e

Please sign in to comment.