|
38 | 38 | in a way that handles margin collapsing as well (hence not an exact opposite) */
|
39 | 39 | .ui-section-spacing-collapse,
|
40 | 40 | .ui-section-spacing-collapse-full {
|
41 |
| - @apply -my-4 sm:-my-8 md:-my-16; |
| 41 | + @apply -my-4 sm:-my-8 md:-my-16 first:-mb-8 sm:first:-mb-16 md:first:-mb-32 last:-mt-8 sm:last:-mt-16 md:last:-mt-32; |
42 | 42 | }
|
43 | 43 |
|
44 | 44 | .ui-section-spacing-collapse-half {
|
45 |
| - @apply -my-2 sm:-my-4 md:-my-8; |
| 45 | + @apply -my-2 sm:-my-4 md:-my-8 first:-mb-4 sm:first:-mb-8 md:first:-mb-16 last:-mt-4 sm:last:-mt-8 md:last:-mt-16; |
46 | 46 | }
|
47 | 47 |
|
48 | 48 | .ui-section-spacing-collapse-quarter {
|
49 |
| - @apply -my-1 sm:-my-2 md:-my-4; |
| 49 | + @apply -my-1 sm:-my-2 md:-my-4 first:-mb-2 sm:first:-mb-4 md:first:-mb-8 last:-mt-2 sm:last:-mt-4 md:last:-mt-8; |
50 | 50 | }
|
51 | 51 |
|
52 | 52 | .ui-section-spacing-collapse-eighth {
|
53 |
| - @apply -my-0.5 sm:-my-1 md:-my-2; |
54 |
| - } |
55 |
| - |
56 |
| - .ui-section-spacing-collapse-order-first-full { |
57 |
| - @apply -mb-8 sm:-mb-16 md:-mb-32; |
58 |
| - } |
59 |
| - |
60 |
| - .ui-section-spacing-collapse-order-first-half { |
61 |
| - @apply -mb-4 sm:-mb-8 md:-mb-16; |
62 |
| - } |
63 |
| - |
64 |
| - .ui-section-spacing-collapse-order-first-quarter { |
65 |
| - @apply -mb-2 sm:-mb-4 md:-mb-8; |
66 |
| - } |
67 |
| - |
68 |
| - .ui-section-spacing-collapse-order-first-eighth { |
69 |
| - @apply -mb-1 sm:-mb-2 md:-mb-4; |
70 |
| - } |
71 |
| - |
72 |
| - .ui-section-spacing-collapse-order-last-full { |
73 |
| - @apply -mt-8 sm:-mt-16 md:-mt-32; |
74 |
| - } |
75 |
| - |
76 |
| - .ui-section-spacing-collapse-order-last-half { |
77 |
| - @apply -mt-4 sm:-mt-8 md:-mt-16; |
78 |
| - } |
79 |
| - |
80 |
| - .ui-section-spacing-collapse-order-last-quarter { |
81 |
| - @apply -mt-2 sm:-mt-4 md:-mt-8; |
82 |
| - } |
83 |
| - |
84 |
| - .ui-section-spacing-collapse-order-last-eighth { |
85 |
| - @apply -mt-1 sm:-mt-2 md:-mt-4; |
| 53 | + @apply -my-0.5 sm:-my-1 md:-my-2 first:-mb-1 sm:first:-mb-2 md:first:-mb-4 last:-mt-1 sm:last:-mt-2 md:last:-mt-4; |
86 | 54 | }
|
87 | 55 |
|
88 | 56 | .ui-content-spacing {
|
|
0 commit comments