Skip to content

Commit

Permalink
Target firefox for jittery video fix in css #1025
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlt8 committed Dec 28, 2023
1 parent 69c9974 commit ee6e35d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 11 additions & 0 deletions app/static/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -262,4 +262,15 @@ button:not(.offline):disabled+.age {
nav.fs-mode,
footer.fs-mode {
display: none;
}

/* Fix for Jittery Video in Firefox #1025 */
@-moz-document url-prefix() {
body::after {
width: 1px;
height: 1px;
position: fixed;
backdrop-filter: blur(0.01rem);
content: "";
}
}
2 changes: 0 additions & 2 deletions app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,5 @@
{% endblock %}
</body>

<!-- Fix for Jittery Video in Firefox #1025 -->
<div style="width: 1px; height: 1px; position: fixed; backdrop-filter: blur(0.01rem)"></div>

</html>

0 comments on commit ee6e35d

Please sign in to comment.