1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Menubar tweaks

* Fix old references to "top menu" to the new "menu bar" terminology
* Use vanilla breakpoint for responsive adjustment to menu bar padding
This commit is contained in:
Jeremy Ruston 2020-02-28 16:09:26 +00:00
parent e8aafdfb66
commit 5644c2ac7b
3 changed files with 11 additions and 7 deletions

View File

@ -1,10 +1,10 @@
title: $:/plugins/tiddlywiki/menubar/config
tags: $:/tags/ControlPanel/Toolbars
caption: Top Menu Bar
caption: Menu Bar
\define config-base() $:/config/plugins/menubar/MenuItems/Visibility/
! Top Menu Configuration
! Menu Bar Configuration
!! Menu Items

View File

@ -4,7 +4,7 @@ description: Search
caption: Search
tags: $:/tags/MenuBar
<$set name="searchTiddler" value="$:/temp/topmenusearch">
<$set name="searchTiddler" value="$:/temp/menubarsearch">
<span style="margin: 0 0.5em;">

View File

@ -26,6 +26,14 @@ nav.tc-menubar ul.tc-menubar-list {
<<box-shadow "1px 1px 5px rgba(0, 0, 0, 0.3)">>
}
@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {
html nav.tc-menubar ul.tc-menubar-list {
padding: 0 0 0 8px;
}
}
nav.tc-menubar li.tc-menubar-item {
display: inline-block;
margin: 0;
@ -137,10 +145,6 @@ nav.tc-menubar .tc-drop-down ol {
display: none;
}
html nav.tc-menubar ul.tc-menubar-list {
padding: 0 0 0 8px;
}
}
@media (min-width: <<breakpoint-plus-one>>) {