Fixes #81 for videos and blog thumbnails

This commit is contained in:
Kristján Eldjárn 2022-07-23 11:04:39 -07:00
parent cf5e895999
commit c4b2cd95f8
2 changed files with 2 additions and 3 deletions

View File

@ -314,8 +314,7 @@
border-top: tovw(1px, 'default', 1px) solid var(--color-white);
border-bottom: tovw(1px, 'default', 1px) solid var(--color-white);
width: 100%;
// height: tovw(232px, 'default', 200px);
height: calc(12.6vw);
@supports (aspect-ratio: 16 / 9) {
aspect-ratio: 16 / 9;

View File

@ -112,7 +112,7 @@
img {
width: 100%;
height: 100%;
height: calc(15.4vw);
object-fit: cover;
@supports (aspect-ratio: 16 / 9) {