File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1
1
@import "tailwindcss" source("../../" );
2
2
3
+ @theme {
4
+ --breakpoint-xs : 30rem ;
5
+ }
6
+
3
7
[x-cloak ] {
4
8
display : none !important ;
5
9
}
21
25
clip-path : inset (0 50% 0 0 );
22
26
}
23
27
28
+
24
29
.media-grid {
25
- @apply grid grid-cols-[repeat (auto-fill, minmax (180px , 1fr ))] gap-4;
30
+ @apply grid grid-cols-2 xs:grid-cols- [repeat (auto-fill, minmax (180px , 1fr ))] gap-4;
26
31
}
27
32
28
33
/* https://tailwindcss.com/docs/upgrade-guide#hover-styles-on-mobile */
Original file line number Diff line number Diff line change 383
383
}
384
384
.container {
385
385
width : 100% ;
386
+ @media (width > = 30rem) {
387
+ max-width : 30rem ;
388
+ }
386
389
@media (width > = 40rem) {
387
390
max-width : 40rem ;
388
391
}
2600
2603
}
2601
2604
.media-grid {
2602
2605
display : grid;
2603
- grid-template-columns : repeat (auto-fill , minmax (180 px , 1fr ));
2606
+ grid-template-columns : repeat (2 , minmax (0 , 1fr ));
2604
2607
gap : calc (var (--spacing ) * 4 );
2608
+ @media (width > = 30rem) {
2609
+ grid-template-columns : repeat (auto-fill, minmax (180px , 1fr ));
2610
+ }
2605
2611
}
2606
2612
.toast-error {
2607
2613
border-color : var (--color-red-600 );
You can’t perform that action at this time.
0 commit comments