From ca32bed4483d0bd0f071a6fd38d726f8c3a0b084 Mon Sep 17 00:00:00 2001 From: BurningTreeC Date: Sat, 5 Oct 2024 14:25:03 +0200 Subject: [PATCH] add fallbacks --- core/wiki/macros/sidebar-resizer.tid | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/wiki/macros/sidebar-resizer.tid b/core/wiki/macros/sidebar-resizer.tid index 67a690465..9e024c10b 100644 --- a/core/wiki/macros/sidebar-resizer.tid +++ b/core/wiki/macros/sidebar-resizer.tid @@ -191,17 +191,23 @@ title: $:/core/macros/sidebar-resizer <> <%elseif [is.percentage.value{$:/themes/tiddlywiki/vanilla/metrics/storyleft}] %> <> + <% else %> + <> <% endif %> <%if [is.pixel.value{$:/themes/tiddlywiki/vanilla/metrics/storyright}] %> <> <%elseif [is.percentage.value{$:/themes/tiddlywiki/vanilla/metrics/storyright}] %> <> + <% else %> + <> <% endif %> <% else %> <%if [is.pixel.value{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}] %> <> <%elseif [is.percentage.value{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}] %> <> + <% else %> + <> <% endif %> <% endif %>