1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-10 01:10:28 +00:00

update vanilla base

This commit is contained in:
BurningTreeC 2024-10-10 13:04:07 +02:00
parent d399543438
commit 054d63034a
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,5 @@
title: $:/themes/tiddlywiki/tight/metrics/
storypaddingleft: 0px
storypaddingright: 0px
storypaddingright: 0px
tiddlerwidth: 770px

View File

@ -3,6 +3,8 @@ tags: [[$:/tags/Stylesheet]]
list-before:
code-body: yes
\function get.theme.metric(metric) [{$:/theme}addsuffix[/]addsuffix<metric>get[text]] ~[[$:/themes/tiddlywiki/vanilla/]addsuffix<metric>get[text]]
\define custom-background-datauri()
<$set name="background" value={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}}>
<$list filter="[<background>is[image]]">
@ -1157,7 +1159,7 @@ button.tc-btn-invisible.tc-remove-tag-button {
@media (min-width: <<sidebarbreakpoint>>) {
.tc-tiddler-frame {
padding: 28px 42px 42px 42px;
width: clamp(0px,{{$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth}},100%);
width: clamp(0px,<<get.theme.metric metrics/tiddlerwidth>>,100%);
border-radius: 2px;
}