feat: limit height of images
This commit is contained in:
parent
d296e61362
commit
606269cbd4
1 changed files with 8 additions and 0 deletions
|
@ -15,6 +15,11 @@
|
|||
max-width: var(--refimage-max-width);
|
||||
margin: 0 auto;
|
||||
|
||||
&__image,
|
||||
&__caption {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
&__image {
|
||||
filter: drop-shadow(0.5rem 0.25rem 0.375rem #000);
|
||||
}
|
||||
|
@ -24,7 +29,10 @@
|
|||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
max-height: 100vh;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue