Skip to content

Build your personal knowledge base with Trilium Notes

Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop

Adorian Dorand779cc185479
diff --cc src/public/stylesheets/theme-next/notes/text.css
index 61462f6a19,06ad3ec9e2..9a0fd26046
--- a/src/public/stylesheets/theme-next/notes/text.css
+++ b/src/public/stylesheets/theme-next/notes/text.css
@@@ -169,67 -164,3 +169,67 @@@ div.find-replace-widget div.find-widget
.find-replace-widget .form-check .form-check-input {
margin-left: 0;
}
+
+/* Narrow version */
+@container (max-width: 600px) {
+ .find-replace-widget > *,
+ .find-replace-widget input,
+ .find-replace-widget button.btn.btn-sm {
+ font-size: .9em;
+ }
+
+ .find-widget-box {
+ position: relative;
+ justify-content: center;
+ flex-wrap: wrap;
+ gap: 8px;
+ }
+
+ .find-widget-box,
+ .replace-widget-box {
+ padding-right: 3em !important;
+ }
+
+ .find-widget-close-button {
+ position: absolute;
+ top: .85em;
+ right: .5em;
+ }
+
+ .find-widget-box > * {
+ margin: unset !important;
+ }
+
+ div.find-widget-search-term-input-group {
+ margin-bottom: 8px;
+ max-width: unset;
+ width: 100%;
+ }
+
+ .find-widget-found-wrapper,
+ .find-widget-found-wrapper > span {
+ min-width: 0 !important;
+ }
+
+ .find-widget-spacer {
+ display: none;
+ }
+
+ .form-check {
+ min-height: unset;
+ margin-bottom: unset;
+ }
+
+ .replace-widget-box {
+ gap: 8px;
+ }
+
+ .replace-widget-box > * {
+ margin-right: unset !important;
+ }
+
+ div.replace-widget-box button.btn.btn-sm {
+ min-width: unset;
+ white-space: nowrap;
+ }
- }
++}