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

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"; @import "../../assets/styles/theme.scss";
.card { .project-list {
display: block; .card {
position: relative; display: block;
height: 250px; position: relative;
height: 250px;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-color: transparent; border-color: transparent;
.image { .image {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: cover;
border-radius: 8px; border-radius: 8px;
} }
.label { .label {
position: absolute; position: absolute;
left: 22px; left: 22px;
bottom: 16px; bottom: 16px;
padding: 2px; padding: 2px;
border-radius: 4px; border-radius: 4px;
font-size: 20px; font-size: 20px;
font-weight: 500; font-weight: 500;
line-height: 24px; line-height: 24px;
color: $text-card-project; color: $text-card-project;
}
} }
} }