mirror of
https://github.com/maciejpedzich/cats-album.git
synced 2024-11-27 22:35:47 +01: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…
Reference in New Issue
Block a user