Skip to content

Commit

Permalink
fix(player): vertically centers posters (#1227)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelfahle committed Apr 3, 2024
1 parent e66a8bd commit 0d3400a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vidstack/player/styles/default/poster.css
Expand Up @@ -8,7 +8,8 @@
display: block;
contain: content;
position: absolute;
top: 0;
top: 50%;
transform: translateY(-50%);
left: 0;
opacity: 0;
width: 100%;
Expand Down

0 comments on commit 0d3400a

Please sign in to comment.