From c9fcf955f43d2b1f329c4069156ef1bfbaab3ce2 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Tue, 13 Apr 2021 01:00:09 +0200 Subject: [PATCH] Remove display:none from mark and flag, and preset hidden attribute instead --- qt/aqt/data/web/css/reviewer.scss | 2 -- qt/aqt/reviewer.py | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/qt/aqt/data/web/css/reviewer.scss b/qt/aqt/data/web/css/reviewer.scss index fd04219a7..1e091a220 100644 --- a/qt/aqt/data/web/css/reviewer.scss +++ b/qt/aqt/data/web/css/reviewer.scss @@ -27,7 +27,6 @@ img { right: 10px; top: 0; font-size: 30px; - display: none; -webkit-text-stroke-width: 1px; -webkit-text-stroke-color: black; } @@ -38,7 +37,6 @@ img { top: 0; font-size: 30px; color: yellow; - display: none; -webkit-text-stroke-width: 1px; -webkit-text-stroke-color: black; } diff --git a/qt/aqt/reviewer.py b/qt/aqt/reviewer.py index 0394bc8fd..1248c3755 100644 --- a/qt/aqt/reviewer.py +++ b/qt/aqt/reviewer.py @@ -183,10 +183,10 @@ class Reviewer: if self.mw.pm.video_driver() == VideoDriver.Software: fade = "" return f""" -
-
+ + {fade} -
+
{extra} """