Fixes #81 for videos and blog thumbnails
This commit is contained in:
parent
cf5e895999
commit
c4b2cd95f8
@ -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;
|
||||
|
||||
@ -112,7 +112,7 @@
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
height: calc(15.4vw);
|
||||
object-fit: cover;
|
||||
|
||||
@supports (aspect-ratio: 16 / 9) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user