Remove display:none from mark and flag, and preset hidden attribute instead
This commit is contained in:
parent
74a9d0b0a1
commit
c9fcf955f4
@ -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;
|
||||
}
|
||||
|
@ -183,10 +183,10 @@ class Reviewer:
|
||||
if self.mw.pm.video_driver() == VideoDriver.Software:
|
||||
fade = "<script>qFade=0;</script>"
|
||||
return f"""
|
||||
<div id=_mark>★</div>
|
||||
<div id=_flag>⚑</div>
|
||||
<div id="_mark" hidden>★</div>
|
||||
<div id="_flag" hidden>⚑</div>
|
||||
{fade}
|
||||
<div id=qa></div>
|
||||
<div id="qa"></div>
|
||||
{extra}
|
||||
"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user