1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-09 15:40:03 +00:00

9 lines
533 B
Plaintext
Raw Normal View History

2024-10-25 19:57:04 +02:00
title: $:/themes/tiddlywiki/centralised/functions
\function set.centralised() yes
\function set.storywidth.storyright() no
2024-10-26 06:52:23 +02:00
\function set.sidebarwidth() no
\function sidebar.resizer.maxwidth() 21px
2024-11-01 16:10:56 +01:00
\function sidebar.resizer.width() [<get.theme.option sidebarposition>!match[left]then[min(calc(]addsuffix<get.theme.metric storypaddingright>addsuffix[ / 2),]addsuffix<sidebar.resizer.maxwidth>addsuffix[)]] :else[[min(calc(]addsuffix<get.theme.metric storypaddingleft>addsuffix[ / 2),]addsuffix<sidebar.resizer.maxwidth>addsuffix[)]]