@microsoft/atlas-css 3.49.0 → 3.50.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/class-names.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/package.json +1 -1
- package/src/atomics/list.scss +4 -0
- package/src/components/layout.scss +23 -3
package/package.json
CHANGED
package/src/atomics/list.scss
CHANGED
|
@@ -8,7 +8,6 @@ $three-quarters-widescreen: math.div($breakpoint-widescreen, 4) * 3;
|
|
|
8
8
|
display: flex;
|
|
9
9
|
flex-direction: column;
|
|
10
10
|
max-inline-size: 100vw;
|
|
11
|
-
overflow-x: hidden;
|
|
12
11
|
|
|
13
12
|
// --layout-gutter by default, see tokens/layout.scss
|
|
14
13
|
#{$layout-gap-custom-property-name}: $layout-gap;
|
|
@@ -79,7 +78,7 @@ $three-quarters-widescreen: math.div($breakpoint-widescreen, 4) * 3;
|
|
|
79
78
|
|
|
80
79
|
.layout.layout-holy-grail {
|
|
81
80
|
.layout-body {
|
|
82
|
-
grid-template: auto auto auto 1fr auto auto / 1fr;
|
|
81
|
+
grid-template: auto auto auto 1fr auto auto / minmax(0, 1fr);
|
|
83
82
|
grid-template-areas: 'header' 'hero' 'menu' 'main' 'aside' 'footer';
|
|
84
83
|
|
|
85
84
|
@include tablet {
|
|
@@ -173,7 +172,7 @@ $three-quarters-widescreen: math.div($breakpoint-widescreen, 4) * 3;
|
|
|
173
172
|
grid-template-areas:
|
|
174
173
|
'header header'
|
|
175
174
|
'hero hero'
|
|
176
|
-
'main aside
|
|
175
|
+
'main aside'
|
|
177
176
|
'footer footer';
|
|
178
177
|
}
|
|
179
178
|
|
|
@@ -187,3 +186,24 @@ $three-quarters-widescreen: math.div($breakpoint-widescreen, 4) * 3;
|
|
|
187
186
|
}
|
|
188
187
|
}
|
|
189
188
|
}
|
|
189
|
+
|
|
190
|
+
.layout.layout-twin {
|
|
191
|
+
.layout-body-menu {
|
|
192
|
+
display: none;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.layout-body {
|
|
196
|
+
grid-template: auto auto auto 1fr auto / minmax(0, 1fr);
|
|
197
|
+
grid-template-areas: 'header' 'hero' 'main' 'aside' 'footer';
|
|
198
|
+
|
|
199
|
+
// note that to make some extra room this layout is not constrained by the widescreen breakpoint like others
|
|
200
|
+
@include tablet {
|
|
201
|
+
grid-template: auto auto 1fr auto / minmax(0, 1fr) minmax(0, 1fr);
|
|
202
|
+
grid-template-areas:
|
|
203
|
+
'header header'
|
|
204
|
+
'hero hero'
|
|
205
|
+
'main aside '
|
|
206
|
+
'footer footer';
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|