Фикс стилей списка проектов

This commit is contained in:
ifraimka committed 2024-11-07 16:35:32 +03:00
1 parent 8888f3a9c4
commit 3b6f9ae930
1 file changed
+25 -23
+25 -23
View File
@@ -1,32 +1,34 @@
@import "../../assets/styles/theme.scss";
.card {
display: block;
position: relative;
height: 250px;
.project-list {
.card {
display: block;
position: relative;
height: 250px;
border-width: 1px;
border-style: solid;
border-color: transparent;
border-width: 1px;
border-style: solid;
border-color: transparent;
.image {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 8px;
}
.image {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 8px;
}
.label {
position: absolute;
left: 22px;
bottom: 16px;
.label {
position: absolute;
left: 22px;
bottom: 16px;
padding: 2px;
border-radius: 4px;
padding: 2px;
border-radius: 4px;
font-size: 20px;
font-weight: 500;
line-height: 24px;
color: $text-card-project;
font-size: 20px;
font-weight: 500;
line-height: 24px;
color: $text-card-project;
}
}
}