Main Content Area
+This content will shrink when the sidebar opens, creating a two-pane layout.
+All sidebars have a standard width of 420px for consistency.
+On mobile devices, the sidebar will overlay the main content instead of shrinking it.
+diff --git a/src/app.scss b/src/app.scss
index 3368530d..9240ba5b 100644
--- a/src/app.scss
+++ b/src/app.scss
@@ -19,7 +19,6 @@ body {
font-family: var(--font-family);
font-size: 1.4rem;
height: 100%;
- padding: spacing.$unit-2x !important;
&.no-scroll {
overflow: hidden;
diff --git a/src/lib/components/Navigation.svelte b/src/lib/components/Navigation.svelte
index 43cf4814..3f6f9bbc 100644
--- a/src/lib/components/Navigation.svelte
+++ b/src/lib/components/Navigation.svelte
@@ -152,6 +152,7 @@
flex-direction: row;
justify-content: space-between;
align-items: center;
+ padding-top: spacing.$unit-2x;
ul {
background-color: var(--menu-bg);
diff --git a/src/lib/components/ui/Sidebar.svelte b/src/lib/components/ui/Sidebar.svelte
new file mode 100644
index 00000000..c61e9713
--- /dev/null
+++ b/src/lib/components/ui/Sidebar.svelte
@@ -0,0 +1,91 @@
+
Click the buttons below to test different sidebar configurations:
+ + + +This content will shrink when the sidebar opens, creating a two-pane layout.
+All sidebars have a standard width of 420px for consistency.
+On mobile devices, the sidebar will overlay the main content instead of shrinking it.
+