From fb27088fcd04917f79fc9ff5c894ec37403233a4 Mon Sep 17 00:00:00 2001 From: zadam Date: Sun, 27 Jan 2019 14:26:39 +0100 Subject: [PATCH] smaller children overview font --- src/public/javascripts/services/note_detail.js | 2 +- src/public/stylesheets/style.css | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/public/javascripts/services/note_detail.js b/src/public/javascripts/services/note_detail.js index 4f750b99b..af208a9a8 100644 --- a/src/public/javascripts/services/note_detail.js +++ b/src/public/javascripts/services/note_detail.js @@ -270,7 +270,7 @@ async function showChildrenOverview() { text: await treeUtils.getNoteTitle(childBranch.noteId, childBranch.parentNoteId) }).attr('data-action', 'note').attr('data-note-path', notePath + '/' + childBranch.noteId); - const childEl = $('
').html(link); + const childEl = $('
').html(link); $childrenOverview.append(childEl); } diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index c0b993df5..409167628 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -489,9 +489,8 @@ div.ui-tooltip { overflow: auto; } -.child-overview { +.child-overview-item { font-weight: bold; - font-size: larger; padding: 10px; background: var(--accented-background-color); width: 150px; @@ -506,7 +505,7 @@ div.ui-tooltip { word-wrap: break-word; } -.child-overview a { +.child-overview-item a { color: var(--muted-text-color); }