From e14fd33140f4ff076e141540559d4540fb9368b8 Mon Sep 17 00:00:00 2001
From: Insert5StarName <sakura@shourai.de>
Date: Tue, 28 Nov 2023 12:38:34 +0100
Subject: fix: classic ui

---
 packages/frontend/src/ui/classic.vue | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'packages/frontend/src/ui/classic.vue')

diff --git a/packages/frontend/src/ui/classic.vue b/packages/frontend/src/ui/classic.vue
index c4239fc9db..747461ff3e 100644
--- a/packages/frontend/src/ui/classic.vue
+++ b/packages/frontend/src/ui/classic.vue
@@ -253,9 +253,14 @@ onMounted(() => {
 		}
 
 		> .widgets {
-			//--panelBorder: none;
+			position: sticky;
+			top: 0;
 			width: 300px;
-			padding-bottom: calc(var(--margin) + env(safe-area-inset-bottom, 0px));
+			height: 100%;
+			padding-top: 16px;
+			box-sizing: border-box;
+			overflow: auto;
+			background: var(--bg);
 
 			@media (max-width: $widgets-hide-threshold) {
 				display: none;
-- 
cgit v1.2.3-freya


From fe7528a8eefb1ea565b6b4e5b6bda3c57890b38c Mon Sep 17 00:00:00 2001
From: Insert5StarName <sakura@shourai.de>
Date: Tue, 28 Nov 2023 12:42:15 +0100
Subject: remove background from widgets

---
 packages/frontend/src/ui/classic.vue | 1 -
 1 file changed, 1 deletion(-)

(limited to 'packages/frontend/src/ui/classic.vue')

diff --git a/packages/frontend/src/ui/classic.vue b/packages/frontend/src/ui/classic.vue
index 747461ff3e..8f06f66012 100644
--- a/packages/frontend/src/ui/classic.vue
+++ b/packages/frontend/src/ui/classic.vue
@@ -260,7 +260,6 @@ onMounted(() => {
 			padding-top: 16px;
 			box-sizing: border-box;
 			overflow: auto;
-			background: var(--bg);
 
 			@media (max-width: $widgets-hide-threshold) {
 				display: none;
-- 
cgit v1.2.3-freya

