From 11f6343843695beece8096691cbc0b23878cced9 Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Tue, 10 Jan 2023 20:10:39 +0100 Subject: [PATCH] Tried to fix grid height --- frontend/src/app.svelte | 8 ++--- frontend/src/components/grid.svelte | 9 +++-- frontend/src/components/icon.svelte | 2 ++ frontend/src/components/modal.svelte | 2 +- frontend/src/components/objectgrid.svelte | 8 +++-- .../organisms/collection-detail/find.svelte | 35 ++++++++++++++++++- .../organisms/collection-detail/index.svelte | 4 +-- frontend/src/style.css | 1 - 8 files changed, 53 insertions(+), 16 deletions(-) diff --git a/frontend/src/app.svelte b/frontend/src/app.svelte index c6899c0..8bed635 100644 --- a/frontend/src/app.svelte +++ b/frontend/src/app.svelte @@ -93,25 +93,25 @@ diff --git a/frontend/src/organisms/collection-detail/index.svelte b/frontend/src/organisms/collection-detail/index.svelte index fc0abf0..8bc6f73 100644 --- a/frontend/src/organisms/collection-detail/index.svelte +++ b/frontend/src/organisms/collection-detail/index.svelte @@ -56,13 +56,13 @@ margin: 1rem 1rem 1rem 0; height: 100%; display: flex; - flex-direction: column; + flex-flow: column; } .container { padding: 0.5rem 0.5rem 0; flex: 1; display: flex; - flex-direction: column; + flex-flow: column; } diff --git a/frontend/src/style.css b/frontend/src/style.css index fa58463..fcd6d13 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -1,7 +1,6 @@ html, body { height: 100vh; - max-height: 100vh; overflow: hidden; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; margin: 0;