Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 4c883e6

Browse files
style: my presentations grid
1 parent 4059e32 commit 4c883e6

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

studio/src/app/pages/core/app-dashboard/app-dashboard.scss

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ app-dashboard {
1414
}
1515

1616
deckgo-deck {
17+
--background: white;
18+
--color: black;
19+
1720
--pager-display: none;
1821

1922
--font-size-very-small: 4px;
@@ -23,6 +26,14 @@ app-dashboard {
2326
--font-size-h1: 18px;
2427
--font-size-h2: 10px;
2528
--font-size-h3: 7px;
29+
30+
--slide-width: 100%;
31+
--slide-height: 100%;
32+
33+
--slide-padding-top-default: 0;
34+
--slide-padding-end-default: 0;
35+
--slide-padding-bottom-default: 0;
36+
--slide-padding-start-default: 0;
2637
}
2738

2839
ion-searchbar[class*="sc-ion-searchbar"] {
@@ -37,30 +48,23 @@ app-dashboard {
3748
div.container {
3849
display: grid;
3950
grid-gap: 16px;
40-
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
41-
grid-auto-rows: 250px 150px;
42-
grid-auto-flow: dense;
51+
grid-template-columns: repeat(auto-fill, 1fr);
4352

4453
ion-card.item {
4554
position: relative;
4655

4756
width: 100%;
48-
height: 100%;
57+
height: 24vh;
4958

50-
overflow: hidden;
59+
@media screen and (min-width: 540px) {
60+
height: 38vh;
61+
}
5162
}
5263

5364
@media screen and (min-width: 540px) {
54-
ion-card.item {
55-
&:first-child {
56-
grid-area: 1 / 1 / span 2 / span 2;
57-
}
58-
59-
&:nth-child(3n) {
60-
grid-column: span 2;
61-
}
62-
}
65+
grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
6366
}
67+
6468
}
6569
}
6670
}

0 commit comments

Comments
 (0)