Skip to content

Build your personal knowledge base with Trilium Notes

style(next): improve the layout of the find and replace panel

Adorian Doran4631298ad058
diff --git a/src/public/stylesheets/theme-next/notes/text.css b/src/public/stylesheets/theme-next/notes/text.css
index 56a12e1c44..57646b200a 100644
--- a/src/public/stylesheets/theme-next/notes/text.css
+++ b/src/public/stylesheets/theme-next/notes/text.css
@@ -126,3 +126,28 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child {
border: 0 !important;
border-top: 1px solid var(--main-border-color) !important;
}
+
+/*
+ * Search in text panel
+ */
+
+.find-replace-widget > div {
+ padding: 8px;
+}
+
+.find-replace-widget > div + div {
+ padding-top: 0;
+}
+
+ /* The up / down buttons of the "Find in text" input */
+.find-replace-widget .input-group button {
+ font-size: 1.3em;
+}
+
+.find-replace-widget .form-check {
+ padding-left: 0;
+}
+
+.find-replace-widget .form-check .form-check-input {
+ margin-left: 0;
+}
\ No newline at end of file