Skip to content

Commit 5d90f04

Browse files
committed
squash
1 parent 7763523 commit 5d90f04

20 files changed

+300
-394
lines changed

.changeset/busy-files-sneeze.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@microsoft/atlas-css': major
3+
---
4+
5+
Site header no longer applies extra padding on wide screens. This change matches the changes to layouts.

.changeset/cute-rabbits-sleep.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@microsoft/atlas-css': major
3+
---
4+
5+
Both the `.layout-body-menu` and `.layout-body-aside` have a narrower maximum width applied, circa 275px wide. These containers still scale down as required on narrower widths.

.changeset/fancy-candies-stay.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@microsoft/atlas-css': major
3+
---
4+
5+
Layouts no longer apply a maximum site width, instead elements are anchored to the sides of the screen regardless of scaling.

.changeset/good-canyons-sneeze.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@microsoft/atlas-css': major
3+
---
4+
5+
The `.banner`, `.hero`, and `.site-header` components no longer have a maximum width applied on wide screen sizes. Pairs with changes made to the .layout class.

.changeset/mighty-flies-sink.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@microsoft/atlas-css': patch
3+
---
4+
5+
Narrow the `.layout-body-menu`'s collapsed width significantly.

.changeset/olive-bobcats-stare.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@microsoft/atlas-site': patch
3+
---
4+
5+
Update the full screen button behavior to remove reading width from the main column element. This allows for the continued testing of full width elements like hero and site header.

.changeset/sour-canyons-dress.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@microsoft/atlas-css': major
3+
---
4+
5+
To match layout changes that remove the site's max width, `.layout-margin` and `.layout-padding` classes have been updated, removing their larger, `calc`ed values that applied to widescreen.

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
},
1919
"typescript.tsc.autoDetect": "off",
2020
"github.copilot.enable": {
21-
"*": false
21+
"*": true
2222
}
2323
}

css/src/components/banner.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ $banner-dismiss-margin: tokens.$spacer-2 !default;
4343
inset-block-start: $banner-padding;
4444
inset-inline-start: tokens.$layout-gap;
4545
border-color: transparent transparent $banner-color $banner-color;
46-
47-
@include mixins.widescreen {
48-
inset-inline-start: tokens.$layout-widescreen-gap;
49-
}
5046
}
5147
}
5248

css/src/components/hero.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ $hero-details-content-fluid-width: 35% !default;
1717
$hero-content-width: tokens.$reading-max-width !default;
1818

1919
$hero-image-width: calc((100% - 2 * tokens.$layout-gap) * 0.55) !default;
20-
$hero-image-width-widescreen: calc((100% - 2 * tokens.$layout-widescreen-gap) * 0.55) !default;
2120

2221
.hero {
2322
@extend %layout-gap;
@@ -159,11 +158,6 @@ $hero-image-width-widescreen: calc((100% - 2 * tokens.$layout-widescreen-gap) *
159158
display: block;
160159
}
161160

162-
@include mixins.widescreen {
163-
width: $hero-image-width-widescreen;
164-
inset-inline-end: tokens.$layout-widescreen-gap;
165-
}
166-
167161
@media (forced-colors: active) {
168162
background-image: none !important;
169163
}

0 commit comments

Comments
 (0)