fix: 💄 match appearance with slider images
This commit is contained in:
parent
260b1dc978
commit
301f5ae4da
1 changed files with 5 additions and 1 deletions
|
@ -56,11 +56,15 @@
|
||||||
|
|
||||||
:host :where(picture, img) {
|
:host :where(picture, img) {
|
||||||
grid-area: image;
|
grid-area: image;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: subgrid;
|
||||||
|
justify-items: center;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host .image {
|
:host .image {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: auto;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-height: 35rem;
|
max-height: 35rem;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue