From 768489128547cf54e80fc321f3f1f4f5cd191862 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sat, 19 Apr 2014 11:32:56 +0100 Subject: [PATCH] Move topbar out of the way of scrollbars In the process getting rid of some extraneous `

` tags. Fixes #566 --- core/ui/PageTemplate/topleftbar.tid | 6 +++++- core/ui/PageTemplate/toprightbar.tid | 6 +++++- themes/tiddlywiki/vanilla/base.tid | 8 ++++---- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/core/ui/PageTemplate/topleftbar.tid b/core/ui/PageTemplate/topleftbar.tid index 421801b3e..44698fd1c 100644 --- a/core/ui/PageTemplate/topleftbar.tid +++ b/core/ui/PageTemplate/topleftbar.tid @@ -3,6 +3,10 @@ tags: $:/tags/PageTemplate -<$list filter="[all[shadows+tiddlers]tag[$:/tags/TopLeftBar]!has[draft.of]]" variable="listItem"><$transclude tiddler=<>/> +<$list filter="[all[shadows+tiddlers]tag[$:/tags/TopLeftBar]!has[draft.of]]" variable="listItem"> + +<$transclude tiddler=<> mode="inline"/> + + diff --git a/core/ui/PageTemplate/toprightbar.tid b/core/ui/PageTemplate/toprightbar.tid index eef18bf9e..c4af52698 100644 --- a/core/ui/PageTemplate/toprightbar.tid +++ b/core/ui/PageTemplate/toprightbar.tid @@ -3,6 +3,10 @@ tags: $:/tags/PageTemplate -<$list filter="[all[shadows+tiddlers]tag[$:/tags/TopRightBar]!has[draft.of]]" variable="listItem"><$transclude tiddler=<>/> +<$list filter="[all[shadows+tiddlers]tag[$:/tags/TopRightBar]!has[draft.of]]" variable="listItem"> + +<$transclude tiddler=<> mode="inline"/> + + diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index ca844a6dc..a02a05dcb 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -330,13 +330,13 @@ a.tw-tiddlylink-external:hover { } .tw-topbar-left { - left: 0; - top: 0; + left: 29px; + top: 5px; } .tw-topbar-right { - top: 0; - right: 0; + top: 5px; + right: 29px; } .tw-topbar button {