From a3e2a0612dda637c3c94e68e538bf1e55446beb5 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Mon, 18 Mar 2024 21:54:41 -0700 Subject: [PATCH] style: fix background image jumping around --- client/src/App.svelte | 3 +++ .../lib/Dashboard/Visualization/Scene.svelte | 17 +++++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/client/src/App.svelte b/client/src/App.svelte index 24f1c58..2a22397 100644 --- a/client/src/App.svelte +++ b/client/src/App.svelte @@ -93,6 +93,9 @@ /* hide scrollbar */ -ms-overflow-style: none; scrollbar-width: none; + background-position: top right; + width: 65vw; + height: 100vw; } .infotainment-container::-webkit-scrollbar { diff --git a/client/src/lib/Dashboard/Visualization/Scene.svelte b/client/src/lib/Dashboard/Visualization/Scene.svelte index 7888191..20b45db 100644 --- a/client/src/lib/Dashboard/Visualization/Scene.svelte +++ b/client/src/lib/Dashboard/Visualization/Scene.svelte @@ -1,3 +1,11 @@ + +