Skip to content

Commit

Permalink
Merge pull request #22 from prezly/fix/gif-video-position
Browse files Browse the repository at this point in the history
[DEV-2661] Apply the same positioning to both GIFs and regular images
  • Loading branch information
Oleg Semyonov authored Apr 29, 2021
2 parents dd6e238 + 203b86a commit fee27e0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/slate-renderer/src/components/Media/Media.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,18 @@

.prezly-slate {
&-media {
&--image {
&--image,
&--video {
display: block;
max-width: 100%;
height: auto;
margin: 0 auto;
}

&--image {
@media print {
color-adjust: exact;
}
}

&--video {
max-width: 100%;
}
}
}

0 comments on commit fee27e0

Please sign in to comment.