mirror of
https://github.com/maciejpedzich/cats-album.git
synced 2025-04-08 22:51:10 +02:00
Remove redundant image styling rules
This commit is contained in:
parent
d4df6dd6c0
commit
cac5d63f23
@ -58,15 +58,12 @@ const { cat } = Astro.props;
|
|||||||
.img-wrapper {
|
.img-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
padding-bottom: 0.75rem;
|
padding-bottom: 0.6rem;
|
||||||
position: relative;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card img {
|
.card img {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-height: 250px;
|
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user