diff --git a/qt/aqt/webview.py b/qt/aqt/webview.py index 7183e8677..34fb57fc2 100644 --- a/qt/aqt/webview.py +++ b/qt/aqt/webview.py @@ -443,7 +443,8 @@ div[contenteditable="true"]:focus { lang_dir = "ltr" return f""" -body {{ zoom: {zoom}; background: {background}; direction: {lang_dir}; {font} }} +body {{ zoom: {zoom}; background: {background}; direction: {lang_dir}; }} +html {{ {font} }} {button_style} :root {{ --window-bg: {background} }} :root[class*=night-mode] {{ --window-bg: {background} }} diff --git a/ts/deckoptions/deckoptions-base.scss b/ts/deckoptions/deckoptions-base.scss index 773075e44..79bdada4b 100644 --- a/ts/deckoptions/deckoptions-base.scss +++ b/ts/deckoptions/deckoptions-base.scss @@ -48,8 +48,3 @@ html { code { color: var(--flag1-bg); } - -// override the default form sizes -input.form-control, select.form-select { - font-size: inherit; -} \ No newline at end of file