diff --git a/qt/aqt/data/web/css/editor.scss b/qt/aqt/data/web/css/editor.scss index dc65c3e6a..11bf745dc 100644 --- a/qt/aqt/data/web/css/editor.scss +++ b/qt/aqt/data/web/css/editor.scss @@ -33,7 +33,11 @@ body { margin: 0; } -#topbutsOuter { +#topbuts { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + position: sticky; top: 0; left: 0; diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index 3abe0ca70..c7d9e54b0 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -72,13 +72,11 @@ audio = ( _html = """
-
-
- %s -
+
+ %s
@@ -206,10 +204,10 @@ class Editor: righttopbtns = runFilter("setupEditorButtons", righttopbtns, self) topbuts = """ -
+
%(leftbts)s
-
+
%(rightbts)s
""" % dict(