Fixes #2
This commit is contained in:
parent
02cb7b6fe3
commit
1f872127bf
|
@ -143,17 +143,15 @@ body {
|
||||||
.project-card {
|
.project-card {
|
||||||
border: 3px solid var(--projects-border-color);
|
border: 3px solid var(--projects-border-color);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
aspect-ratio: 1 / 1.4;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.project-card a {
|
.project-card a {
|
||||||
height: auto;
|
aspect-ratio: 1 / 1.4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card__img {
|
.card__img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
|
||||||
aspect-ratio: 1 / 1.25;
|
aspect-ratio: 1 / 1.25;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue