(bug-fix: 1984) Update search highlighter to use overlay (#2035)

This commit is contained in:
Joshua Swigut
2025-04-04 16:43:03 -04:00
committed by GitHub
parent 544751908d
commit aed70f624f
6 changed files with 380 additions and 153 deletions
+3 -2
View File
@@ -1,14 +1,15 @@
/* Search highlight styles */
mark {
.search-highlight {
background-color: rgba(255, 213, 0, 0.5);
color: var(--text-standard);
padding: 0;
border-radius: 2px;
}
mark.current {
.search-highlight.current {
background-color: rgba(252, 213, 3, 0.6);
box-shadow: inset 0 0 0 1px var(--text-prominent);
z-index: 2;
}
@keyframes expandDown {