Фикс стилей списка лабораторий: убрал лишний файл стилей, переделал под grid, вынес gap в глобальную переменную row-gap

This commit is contained in:
ifraimka committed 2024-11-08 16:01:26 +03:00
1 parent 04619ea3ae
commit 4a9a3baf94
4 files changed
+6 -88

No files matched your search

+3 -4
View File
@@ -1,13 +1,12 @@
@import "../../assets/styles/theme.scss";
.row.lab-list {
display: flex;
flex-wrap: wrap;
display: grid;
grid-template-columns: repeat(3, calc((100% - $row-gap * 2) / 3));
justify-content: space-between;
gap: 26px;
gap: $row-gap;
.card {
flex: 1 1 30%;
height: 300px;
overflow: hidden;