Skip to content

Build your personal knowledge base with Trilium Notes

make search dialog more responsive in narrow sidebar, fixes #367

azivnerc23387c0fb43
diff --git a/src/views/desktop.ejs b/src/views/desktop.ejs
index 89f9cfe6ed..45a5317cb1 100644
--- a/src/views/desktop.ejs
+++ b/src/views/desktop.ejs
@@ -75,8 +75,8 @@
<input type="file" id="import-upload" style="display: none" />
<div id="search-box">
- <div style="display: flex; align-items: center;">
- <input name="search-text" placeholder="Search text, labels" style="flex-grow: 100; margin-left: 5px; margin-right: 5px;" autocomplete="off">
+ <div style="display: flex; align-items: center; flex-wrap: wrap;">
+ <input name="search-text" placeholder="Search text, labels" style="flex-grow: 100; margin-left: 5px; margin-right: 5px; flex-basis: 5em; min-width: 0;" autocomplete="off">
<button id="do-search-button" class="btn btn-sm icon-button jam jam-search" title="Search (enter)"></button>
&nbsp;