mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-04 03:48:01 +00:00
Correct breakpoint for no-box-shadow in snowwhite/base stylesheet (#5008)
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
title: $:/themes/tiddlywiki/snowwhite/base
|
||||
tags: [[$:/tags/Stylesheet]]
|
||||
|
||||
\define sidebarbreakpoint-minus-one()
|
||||
<$text text={{{ [{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}removesuffix[px]subtract[1]addsuffix[px]] ~[{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}] }}}/>
|
||||
\end
|
||||
|
||||
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
|
||||
|
||||
.tc-sidebar-header {
|
||||
@@ -17,7 +21,7 @@ tags: [[$:/tags/Stylesheet]]
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {
|
||||
@media (max-width: <<sidebarbreakpoint-minus-one>>) {
|
||||
.tc-tiddler-frame {
|
||||
<<box-shadow none>>
|
||||
}
|
||||
|
Reference in New Issue
Block a user