From 704610ef8fba4906abeeaf93a4b5b5704ffb2303 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 4 Jul 2016 16:24:43 +1000 Subject: [PATCH] remove button styling qt5.7 loses system styling when zoom applied --- aqt/webview.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/aqt/webview.py b/aqt/webview.py index 6445cfdd5..97168130d 100644 --- a/aqt/webview.py +++ b/aqt/webview.py @@ -140,18 +140,10 @@ class AnkiWebView(QWebEngineView): return max(1, dpi / 96.0) def stdHtml(self, body, css="", bodyClass="", js=None, head=""): - if isMac: - button = "zoom: 120%;" - else: - button = "font-weight: normal;" - self.setHtml("""