From b63e27006a2bc3aef288422eb1fb680a2799b352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Mon, 27 Dec 2021 12:33:48 +0100 Subject: [PATCH] fix footer obscuring bottom of content --- ui/src/App.svelte | 10 ++++++++-- ui/src/components/layout/Footer.svelte | 13 ++++++++++++- ui/src/views/Browse.svelte | 1 + 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/ui/src/App.svelte b/ui/src/App.svelte index d7f4145..713e2bf 100644 --- a/ui/src/App.svelte +++ b/ui/src/App.svelte @@ -22,9 +22,15 @@ ); const history = createHistory(createHashSource()); + + let footerHeight = "0"; + function setBottomMargin(size: CustomEvent) { + footerHeight = `${size.detail.contentRect.height}px`; + } - + +
@@ -39,7 +45,7 @@ -