From c227c7dc394eae92fd172810f89bf9c8fa91e37d Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Wed, 15 Sep 2021 15:21:37 +0200 Subject: [PATCH] Make StickyBottom actually stick and make editor fullsize + flexbox --- qt/aqt/editor.py | 4 ++-- ts/components/StickyBottom.svelte | 4 ++-- ts/editor/TagEditor.svelte | 4 +--- ts/editor/fields.scss | 17 ++++++++++++----- ts/editor/index.ts | 9 ++++++--- 5 files changed, 23 insertions(+), 15 deletions(-) diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index 6a285ebd4..90c666b40 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -80,10 +80,10 @@ audio = ( _html = """
-
+
%s
-
+
""" diff --git a/ts/components/StickyBottom.svelte b/ts/components/StickyBottom.svelte index e62654bb0..e67c403d1 100644 --- a/ts/components/StickyBottom.svelte +++ b/ts/components/StickyBottom.svelte @@ -7,7 +7,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html let className: string = ""; export { className as class }; - export let height: number; + export let height: number = 0;