Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

Commit

Permalink
Add native video to full bleed CSS rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy-set-studio committed Jul 1, 2019
1 parent 4635024 commit 69602cb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/scss/components/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,15 @@
figure + *,
pre > code,
.video-player,
.video-player + * {
.video-player + *,
video {
--flow-space: #{get-size('max')};
}

figure,
pre > code,
.video-player {
.video-player,
video {
width: 100vw;
max-width: map-get($metrics, 'wrap-max-width');
margin-left: 50%; /*changing this value to 47% removes the horizontal scrollbar once the viewport is < 930px */
Expand Down

0 comments on commit 69602cb

Please sign in to comment.