@microsoft/atlas-css 3.56.0 → 3.57.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/package.json
CHANGED
|
@@ -40,6 +40,16 @@ $default-flyout-width-widescreen: 480px;
|
|
|
40
40
|
margin-inline: var(#{$layout-gap-scalable-custom-property-name}) !important;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
@include tablet {
|
|
44
|
+
.layout-padding-tablet {
|
|
45
|
+
padding-inline: var(#{$layout-gap-custom-property-name}) !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.layout-margin-tablet {
|
|
49
|
+
margin-inline: var(#{$layout-gap-scalable-custom-property-name}) !important;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
43
53
|
.layout-body {
|
|
44
54
|
display: grid;
|
|
45
55
|
width: 100%;
|
|
@@ -353,9 +363,9 @@ $default-flyout-width-widescreen: 480px;
|
|
|
353
363
|
&.layout-twin,
|
|
354
364
|
&.layout-sidecar-left,
|
|
355
365
|
&.layout-sidecar-right {
|
|
356
|
-
// 👇 minus
|
|
366
|
+
// 👇 minus a pixel at the end to account for percentage points and rounding
|
|
357
367
|
--atlas-contained-height: calc(
|
|
358
|
-
var(--window-inner-height) - var(--atlas-header-height) - var(--atlas-footer-height) -
|
|
368
|
+
var(--window-inner-height) - var(--atlas-header-height) - var(--atlas-footer-height) - 1px
|
|
359
369
|
);
|
|
360
370
|
}
|
|
361
371
|
|
|
@@ -379,9 +389,9 @@ $default-flyout-width-widescreen: 480px;
|
|
|
379
389
|
// Because the holy grail has two rows (containing menu main, menu aside) on tablet, we cannot apply height constraints at that size
|
|
380
390
|
@include desktop {
|
|
381
391
|
.layout.layout-constrained.layout-holy-grail {
|
|
382
|
-
// 👇 minus
|
|
392
|
+
// 👇 minus a pixel at the end to account for percentage points and rounding
|
|
383
393
|
--atlas-contained-height: calc(
|
|
384
|
-
var(--window-inner-height) - var(--atlas-header-height) - var(--atlas-footer-height) -
|
|
394
|
+
var(--window-inner-height) - var(--atlas-header-height) - var(--atlas-footer-height) - 1px
|
|
385
395
|
);
|
|
386
396
|
|
|
387
397
|
.layout-body-main,
|
|
@@ -177,7 +177,7 @@ $site-header-panel-featured-section-border: 1px solid $table-border-dark !defaul
|
|
|
177
177
|
background-color: $site-header-panel-background-color;
|
|
178
178
|
text-wrap: wrap;
|
|
179
179
|
box-shadow: $site-header-panel-shadow;
|
|
180
|
-
z-index: $zindex-
|
|
180
|
+
z-index: $zindex-popover;
|
|
181
181
|
inset-inline-start: 0;
|
|
182
182
|
inset-block-start: calc($site-header-height - 1px);
|
|
183
183
|
border-block-start: $site-header-panel-border;
|