Skip to content

Build your personal knowledge base with Trilium Notes

fix(dialogs): drop the light border on hovered picker tiles

Elian Doranf7a26affca2d
diff --git a/apps/client/src/widgets/react/SelectableCard.css b/apps/client/src/widgets/react/SelectableCard.css
index 172948ad89..85da007543 100644
--- a/apps/client/src/widgets/react/SelectableCard.css
+++ b/apps/client/src/widgets/react/SelectableCard.css
@@ -22,7 +22,8 @@ body.mobile .selectable-card-grid {
cursor: pointer;
}
-.selectable-card:hover:not(:disabled) {
+/* `:where()` keeps this below the theme's `:root .selectable-card:hover`, which this file loads after. */
+.selectable-card:hover:where(:not(:disabled)) {
border-color: var(--main-text-color);
}