Skip to content

Commit

Permalink
Update subs2srs (video) card styling to prefetch the screenshot and p…
Browse files Browse the repository at this point in the history
…revent layout shift
  • Loading branch information
kelciour committed Apr 29, 2024
1 parent 23421f6 commit aaac7ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions styles.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@
<div class="media"><a class="replay-button" href="#" onclick="playVideo();return false;"></a></div>
<div class="snapshot" hidden>{{Snapshot}}</div>
<script>
var video = document.querySelector('video');
var error = false;
Expand Down

0 comments on commit aaac7ec

Please sign in to comment.