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
jump to note: Improve position of close button
Elian Doranc6e8966ecdc4
diff --git a/src/public/app/widgets/dialogs/jump_to_note.js b/src/public/app/widgets/dialogs/jump_to_note.jsindex f3bf3e9bfc..c6bfed2e7b 100644--- a/src/public/app/widgets/dialogs/jump_to_note.js+++ b/src/public/app/widgets/dialogs/jump_to_note.js@@ -8,10 +8,8 @@ const TPL = `<div class="jump-to-note-dialog modal mx-auto" tabindex="-1" role="<div class="modal-dialog modal-lg" role="document"><div class="modal-content"><div class="modal-header">- <div class="form-group" style="flex-grow: 1;">- <div class="input-group">- <input class="jump-to-note-autocomplete form-control" placeholder="search for note by its name">- </div>+ <div class="input-group">+ <input class="jump-to-note-autocomplete form-control" placeholder="search for note by its name"></div><button type="button" class="close" data-dismiss="modal" aria-label="Close">diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.cssindex 7cda1dec6c..dfffe5aa9a 100644--- a/src/public/stylesheets/style.css+++ b/src/public/stylesheets/style.css@@ -1075,6 +1075,11 @@ textarea {top: 8px;}+.jump-to-note-dialog .modal-header {+ align-items: center;+ padding-bottom: 1rem !important;+}+.jump-to-note-dialog .modal-body {padding: 0 1rem;}