1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-08-07 22:33:50 +00:00

if no sidebar do nothing

This commit is contained in:
BurningTreeC 2024-09-27 17:12:16 +02:00
parent cc297ed758
commit e6e3996f5d

View File

@ -10,6 +10,8 @@ code-body: yes
<$text text={{{ [{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}removesuffix[px]subtract[1]addsuffix[px]] ~[{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}] }}}/>
\end
<%if [{$:/state/sidebar}!match[no]] %>
@media (min-width: <<sidebarbreakpoint>>) {
.tc-sidebar-scrollable {
@ -194,3 +196,5 @@ code-body: yes
display: none;
}
}
<% endif %>