Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(options): drop the combo frame of narrow cards in the legacy theme
Elian Doran32d8677a7e5f
diff --git a/apps/client/src/widgets/react/Card.css b/apps/client/src/widgets/react/Card.cssindex 9a850e310a..8fedfe0800 100644--- a/apps/client/src/widgets/react/Card.css+++ b/apps/client/src/widgets/react/Card.css@@ -275,6 +275,7 @@ body[dir=rtl] .tn-card-option::after {max-width: none;/* Room at the end for the mark standing over it, so the value stops short of it. */padding-inline: 0 calc(var(--card-option-mark-size) + 8px);+ border: 0;background: none;color: var(--muted-text-color);overflow: hidden;@@ -283,6 +284,11 @@ body[dir=rtl] .tn-card-option::after {white-space: nowrap;}+ /* The row's chevron stands in for the toggle's own caret. */+ .tn-card .tn-card-option > .dropdown > .btn::after {+ content: none;+ }+/* Each state the theme gives a combo box would put the frame and the arrow back, so all of themare answered here. */.tn-card .tn-card-option > select:is(:hover, :focus, :focus-visible, :active),