From 967fde5d3bcfe7160960c0394d4216b30cbfc7f4 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sun, 15 Mar 2026 15:10:25 +0200 Subject: [PATCH] Adjust plans css --- app/features/map-planner/plans-global.css | 8 ++++++++ app/root.tsx | 9 ++++++++- app/styles/vars.css | 1 + 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/app/features/map-planner/plans-global.css b/app/features/map-planner/plans-global.css index 1b1a55f3b..957f810d7 100644 --- a/app/features/map-planner/plans-global.css +++ b/app/features/map-planner/plans-global.css @@ -66,6 +66,14 @@ body:has(.planner) header { background-color: var(--color-bg); } +.tlui-toolbar-container.tlui-toolbar__tools { + bottom: calc(var(--layout-fuse-bottom-height) + env(safe-area-inset-bottom)); +} + +.tl-watermark_SEE-LICENSE { + bottom: calc(var(--layout-fuse-bottom-height) + env(safe-area-inset-bottom)); +} + img[src$="?outline=red"] { --outline-width: 0.1rem; --outline-color: crimson; diff --git a/app/root.tsx b/app/root.tsx index 3744c06c8..41bf0cb4c 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -160,12 +160,19 @@ function Document({ useTriggerToasts(); useSidebarRevalidation(); + const htmlStyle: Record = { + ...Object.fromEntries(customThemeStyle), + ...(data?.user?.roles.includes("MINOR_SUPPORT") + ? { "--layout-fuse-bottom-height": "0px" } + : {}), + }; + return ( diff --git a/app/styles/vars.css b/app/styles/vars.css index d3f592b7f..5d1411bd2 100644 --- a/app/styles/vars.css +++ b/app/styles/vars.css @@ -253,6 +253,7 @@ html { */ --layout-nav-height: 55px; --layout-sidenav-width: 250px; + --layout-fuse-bottom-height: 90px; --layout-main-padding: var(--s-3); --layout-sticky-top: calc( var(--layout-nav-height) +