Skip to content

Commit 706a080

Browse files
author
Herve Tribouilloy
committed
Fixed mobile layout not rendering on 1 column only
1 parent 32f1652 commit 706a080

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

vite_project/src/styles/booking-system.dashboard.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,25 @@
44
}
55

66
.week-event-list {
7-
display: flex;
8-
align-items: flex-start;
9-
gap: 0.75rem;
107
opacity: 0.6;
118
animation: contentFadeIn 900ms ease forwards;
129
position: relative;
1310
}
1411

12+
.week-event-list[data-layout="desktop"] {
13+
display: flex;
14+
align-items: flex-start;
15+
gap: 0.75rem;
16+
}
17+
1518
@keyframes contentFadeIn {
1619
to {
1720
opacity: 1;
1821
}
1922
}
2023

2124
.week-event-list[data-layout="mobile"] {
25+
display: grid;
2226
grid-template-columns: 1fr;
2327
position: relative;
2428
}

0 commit comments

Comments
 (0)