diff --git a/src/public/javascripts/note_tree.js b/src/public/javascripts/note_tree.js index 6c3ed1e61..5e4ab44b7 100644 --- a/src/public/javascripts/note_tree.js +++ b/src/public/javascripts/note_tree.js @@ -3,7 +3,7 @@ const noteTree = (function() { const treeEl = $("#tree"); const parentListEl = $("#parent-list"); - const parentListListEl = $("#parent-list-list"); + const parentListListEl = $("#parent-list-inner"); let startNotePath = null; let notesTreeMap = {}; diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index 28639dabd..66be78699 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -5,13 +5,18 @@ display: grid; grid-template-areas: "header header" "tree-actions title" + "search note-content" "tree note-content" "parent-list note-content" "parent-list attribute-list"; grid-template-columns: 2fr 5fr; grid-template-rows: auto auto - 1fr; + auto + 1fr + auto + auto; + justify-content: center; grid-gap: 10px; } @@ -135,6 +140,7 @@ div.ui-tooltip { margin-left: 20px; border-top: 2px solid #eee; padding-top: 10px; + grid-area: parent-list; } #parent-list ul { diff --git a/src/views/index.ejs b/src/views/index.ejs index 863be4c39..fc04c89c7 100644 --- a/src/views/index.ejs +++ b/src/views/index.ejs @@ -56,13 +56,13 @@ Search in notes + -