fix: aspect ratio
This commit is contained in:
parent
e1520d2cd2
commit
f0246e000b
3 changed files with 6 additions and 8 deletions
|
@ -9,6 +9,9 @@
|
|||
}
|
||||
|
||||
& img {
|
||||
max-width: calc(var(--sizing-3xl) * 4);
|
||||
height: auto;
|
||||
aspect-ratio: var(--aspect-ratio-vertical);
|
||||
transition-property: border-color;
|
||||
transition-timing-function: var(--transition-ease-in-out);
|
||||
transition-duration: 300ms;
|
||||
|
@ -24,11 +27,6 @@
|
|||
border-color: var(--accent-color-hover)
|
||||
}
|
||||
|
||||
& img {
|
||||
max-width: calc(var(--sizing-3xl) * 4);
|
||||
height: auto;
|
||||
}
|
||||
|
||||
& .book-meta {
|
||||
align-items: center;
|
||||
|
||||
|
|
Reference in a new issue