From 5bbe7f06e398f7c21f8b19e1d7851a0da55a1e9d Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Mon, 23 Sep 2024 18:40:32 -0400 Subject: [PATCH 1/9] Fix height of DocumentBrowser --- src/lib/components/layouts/DocumentBrowser.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/layouts/DocumentBrowser.svelte b/src/lib/components/layouts/DocumentBrowser.svelte index 6d422151d..8ef21b4b7 100644 --- a/src/lib/components/layouts/DocumentBrowser.svelte +++ b/src/lib/components/layouts/DocumentBrowser.svelte @@ -197,6 +197,7 @@ diff --git a/src/lib/components/layouts/AddOnBrowser.svelte b/src/lib/components/layouts/AddOnBrowser.svelte index a39c6a781..49b044adb 100644 --- a/src/lib/components/layouts/AddOnBrowser.svelte +++ b/src/lib/components/layouts/AddOnBrowser.svelte @@ -141,13 +141,13 @@ padding: 1rem 0.5rem; max-height: 100%; overflow-y: auto; - box-shadow: var(--shadow-1); z-index: 1; } main { max-height: 100%; overflow-y: auto; background: var(--gray-1); + box-shadow: inset var(--shadow-2); } .history { max-width: unset; @@ -156,6 +156,8 @@ gap: 2rem; } .container { + max-width: var(--app-max-w, 100rem); + margin: 0 auto; max-height: 100%; display: grid; grid-template-columns: 16rem 2fr 40%; diff --git a/src/lib/components/layouts/AddOnLayout.svelte b/src/lib/components/layouts/AddOnLayout.svelte index 9879a6ca3..936c49b2f 100644 --- a/src/lib/components/layouts/AddOnLayout.svelte +++ b/src/lib/components/layouts/AddOnLayout.svelte @@ -172,8 +172,6 @@ justify-content: center; width: 100%; height: 100%; - padding: 1rem; - gap: 1rem; max-width: var(--app-max-w, 100rem); margin: 0 auto; } @@ -188,21 +186,16 @@ max-height: 100%; display: flex; flex-direction: column; - overflow: visible; + overflow-y: auto; } .addon header { margin-bottom: 1rem; + padding: 1rem; } .addon .tabs { display: flex; padding: 0 1rem; - } - .addon main { - overflow-y: auto; - background-color: var(--white); - border: 1px solid var(--gray-1); - border-radius: var(--radius, 0.5rem); - box-shadow: var(--shadow-1); + border-bottom: 1px solid var(--gray-2); } .docs { background-color: var(--gray-1); diff --git a/src/lib/components/layouts/DocumentLayout.svelte b/src/lib/components/layouts/DocumentLayout.svelte index bed8bdf72..4baf096b2 100644 --- a/src/lib/components/layouts/DocumentLayout.svelte +++ b/src/lib/components/layouts/DocumentLayout.svelte @@ -37,12 +37,8 @@
-
- -
-
- -
+
+