From f8c3f17ab9d209f7a4de7c2ef3a5206b5ba4a685 Mon Sep 17 00:00:00 2001 From: Daniel Ledda Date: Sat, 28 May 2022 22:41:46 +0200 Subject: [PATCH] fix: fixed some styling issues with the sidebar --- .idea/workspace.xml | 61 +++++++++++++++++++------------------------ src/ui/App.svelte | 2 -- src/ui/Sidebar.svelte | 1 + 3 files changed, 28 insertions(+), 36 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index c1f86ba..4f5e85c 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,5 +1,8 @@ + + @@ -27,7 +30,8 @@ - + + + + - - - - - - - - - - - - - - - - - - - + @@ -161,17 +163,19 @@ + + - @@ -202,21 +206,10 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/src/ui/App.svelte b/src/ui/App.svelte index 7daeaea..86894e0 100644 --- a/src/ui/App.svelte +++ b/src/ui/App.svelte @@ -26,7 +26,6 @@ background-color: black; margin: 0; padding: 0; - max-width: 20%; height: 100%; display: inline-block; } @@ -36,7 +35,6 @@ margin: 0; padding: 0; height: 100%; - width: 80%; display: inline-block; } :global(body) { diff --git a/src/ui/Sidebar.svelte b/src/ui/Sidebar.svelte index 5abc139..6cc4c7b 100644 --- a/src/ui/Sidebar.svelte +++ b/src/ui/Sidebar.svelte @@ -65,6 +65,7 @@ align-items: center; flex-direction: column; height: 100%; + width: calc(350px + 2em); overflow: hidden; background-color: #333333; padding: 1em;