mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-17 23:34:50 +00:00
61c204366f
Fixes #580 Seems much better, especially since the chevron gives us two clear visual states (left vs. right). The hamburger doesn’t really have a commonly accepted way of indicating whether the menu is currently open or not.
10 lines
413 B
Plaintext
10 lines
413 B
Plaintext
title: $:/core/ui/TopBar/menu
|
|
tags: $:/tags/TopRightBar
|
|
|
|
<$reveal state="$:/state/sidebar" type="nomatch" text="no">
|
|
<$button set="$:/state/sidebar" setTo="no" class="btn-invisible">{{$:/core/images/chevron-right}}</$button>
|
|
</$reveal>
|
|
<$reveal state="$:/state/sidebar" type="match" text="no">
|
|
<$button set="$:/state/sidebar" setTo="yes" class="btn-invisible">{{$:/core/images/chevron-left}}</$button>
|
|
</$reveal>
|