Add and use an aspect ratio plugin

This commit is contained in:
Oliver Davies 2020-09-27 19:06:10 +01:00
parent 67a49ecb93
commit a6ce168d97
4 changed files with 15 additions and 3 deletions

View file

@ -14,8 +14,7 @@
}
.embed-responsive {
@apply block relative h-0 p-0 overflow-hidden;
padding-bottom: 56.25%
@apply block relative h-0 overflow-hidden aspect-ratio-16/9
}
.embed-responsive .embed-responsive-item,