kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Correct breakpoint for no-box-shadow in snowwhite/base stylesheet (#5008)
rodzic
4d85d267a1
commit
db48ce5f2c
|
@ -1,6 +1,10 @@
|
||||||
title: $:/themes/tiddlywiki/snowwhite/base
|
title: $:/themes/tiddlywiki/snowwhite/base
|
||||||
tags: [[$:/tags/Stylesheet]]
|
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
|
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
|
||||||
|
|
||||||
.tc-sidebar-header {
|
.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 {
|
.tc-tiddler-frame {
|
||||||
<<box-shadow none>>
|
<<box-shadow none>>
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue