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);
|
max-width: var(--refimage-max-width);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
||||||
|
&__image,
|
||||||
|
&__caption {
|
||||||
|
flex: 0 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
&__image {
|
&__image {
|
||||||
filter: drop-shadow(0.5rem 0.25rem 0.375rem #000);
|
filter: drop-shadow(0.5rem 0.25rem 0.375rem #000);
|
||||||
}
|
}
|
||||||
|
@ -24,7 +29,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
display: block;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
max-height: 100vh;
|
||||||
|
margin: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue