Skip to content

Build your personal knowledge base with Trilium Notes

style(search): stack the linter's fix button under its message

Elian Doranc99fa768f700
diff --git a/apps/client/src/widgets/ribbon/SearchStringEditor.css b/apps/client/src/widgets/ribbon/SearchStringEditor.css
index 641460d862..8e8a32767a 100644
--- a/apps/client/src/widgets/ribbon/SearchStringEditor.css
+++ b/apps/client/src/widgets/ribbon/SearchStringEditor.css
@@ -81,6 +81,17 @@
}
}
+ .cm-diagnostic {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
+ gap: 0.5em;
+ }
+
+ .cm-diagnosticAction {
+ margin-left: 0;
+ }
+
.cm-placeholder {
/* Out of flow, so the caret on an empty line takes its height from the line's text box
rather than from the placeholder. The text draws at the line's start either way. */