From 1a219e32fe17caf286b9b61dad468eea51cd4630 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Thu, 2 May 2024 23:15:17 +0300 Subject: [PATCH] Switch sheld to use flex layout --- public/style.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/style.css b/public/style.css index 39e05286d..7cd1f5ddf 100644 --- a/public/style.css +++ b/public/style.css @@ -489,8 +489,8 @@ body.reduced-motion #bg_custom { } #sheld { - display: grid; - grid-template-rows: auto min-content; + display: flex; + flex-direction: column; /* -1px to give sheld some wiggle room to bounce off tobar when moving*/ height: calc(100vh - var(--topBarBlockSize) - 1px); height: calc(100svh - var(--topBarBlockSize) - 1px); @@ -584,6 +584,7 @@ body .panelControlBar { text-shadow: 0px 0px calc(var(--shadowWidth) * 1px) var(--SmartThemeShadowColor); flex-direction: column; z-index: 30; + flex-grow: 1; } #form_sheld {