diff --git a/qt/aqt/data/web/css/editor.scss b/qt/aqt/data/web/css/editor.scss index c1bff5cf0..dc65c3e6a 100644 --- a/qt/aqt/data/web/css/editor.scss +++ b/qt/aqt/data/web/css/editor.scss @@ -34,12 +34,10 @@ body { } #topbutsOuter { - position: fixed; + position: sticky; top: 0; - padding: 2px; left: 0; - right: 0; - z-index: 1; + padding: 2px; } .topbut { @@ -94,10 +92,6 @@ button.highlighted { } } -#fields { - margin-top: 35px; -} - .dupe { background: var(--flag1-bg); } diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index 342bdb877..3abe0ca70 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -74,12 +74,14 @@ _html = """ html { background: %s; } #topbutsOuter { background: %s; } -