Skip to content

Build your personal knowledge base with Trilium Notes

style(next): fix the quick search box

Adorian Doranedd39ad0db1a
diff --git a/src/public/stylesheets/theme-next/shell.css b/src/public/stylesheets/theme-next/shell.css
index 10207d3a8e..8194a869bb 100644
--- a/src/public/stylesheets/theme-next/shell.css
+++ b/src/public/stylesheets/theme-next/shell.css
@@ -260,6 +260,12 @@ div.quick-search {
padding: var(--padding-top) var(--padding-right) var(--padding-bottom) var(--padding-left);
}
+div.quick-search, div.quick-search:hover, div.quick-search:focus-within {
+ /* Prevent changes to background and outline when the state of the input group changes */
+ background: transparent;
+ outline: none;
+}
+
div.quick-search::before {
/* The background rectangle of the search box */
position: absolute;