-
Notifications
You must be signed in to change notification settings - Fork 556
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PageHeader: Fixes layout issues on title and sub components (#4669)
* layout shift issue resolve * do not inherit font and line styles from parent for description and navigation slot * font initial size and line hight only weight * set font styles to sub components * style update * test fix * Create two-hotels-attend.md * test(vrt): update snapshots * update line height to medium * test(vrt): update snapshots * breadcrumb line height update * test(vrt): update snapshots --------- Co-authored-by: broccolinisoup <[email protected]>
- Loading branch information
1 parent
dddd477
commit 1403ef7
Showing
67 changed files
with
79 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@primer/react": patch | ||
--- | ||
|
||
PageHeader: Resolve layout shift issues on Title and Actions |
Binary file modified
BIN
+117 Bytes
(100%)
...ts/PageHeader.test.ts-snapshots/PageHeader-Files-Page-dark-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+85 Bytes
(100%)
...onents/PageHeader.test.ts-snapshots/PageHeader-Files-Page-dark-dimmed-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+59 Bytes
(100%)
...PageHeader.test.ts-snapshots/PageHeader-Files-Page-dark-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+117 Bytes
(100%)
...ts/components/PageHeader.test.ts-snapshots/PageHeader-Files-Page-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+117 Bytes
(100%)
...ts/PageHeader.test.ts-snapshots/PageHeader-Files-Page-dark-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+83 Bytes
(100%)
...s/PageHeader.test.ts-snapshots/PageHeader-Files-Page-light-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+33 Bytes
(100%)
...ageHeader.test.ts-snapshots/PageHeader-Files-Page-light-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+83 Bytes
(100%)
...s/components/PageHeader.test.ts-snapshots/PageHeader-Files-Page-light-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+83 Bytes
(100%)
...s/PageHeader.test.ts-snapshots/PageHeader-Files-Page-light-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+117 Bytes
(100%)
...ts-snapshots/PageHeader-Files-Page-on-Narrow-Viewport-dark-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+85 Bytes
(100%)
...est.ts-snapshots/PageHeader-Files-Page-on-Narrow-Viewport-dark-dimmed-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+59 Bytes
(100%)
...snapshots/PageHeader-Files-Page-on-Narrow-Viewport-dark-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+117 Bytes
(100%)
...eader.test.ts-snapshots/PageHeader-Files-Page-on-Narrow-Viewport-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+117 Bytes
(100%)
...ts-snapshots/PageHeader-Files-Page-on-Narrow-Viewport-dark-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+83 Bytes
(100%)
...s-snapshots/PageHeader-Files-Page-on-Narrow-Viewport-light-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+33 Bytes
(100%)
...napshots/PageHeader-Files-Page-on-Narrow-Viewport-light-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+83 Bytes
(100%)
...ader.test.ts-snapshots/PageHeader-Files-Page-on-Narrow-Viewport-light-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+83 Bytes
(100%)
...s-snapshots/PageHeader-Files-Page-on-Narrow-Viewport-light-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+162 Bytes
(100%)
...Header.test.ts-snapshots/PageHeader-Pull-Request-Page-dark-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-11 Bytes
(100%)
...PageHeader.test.ts-snapshots/PageHeader-Pull-Request-Page-dark-dimmed-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+15 Bytes
(100%)
...der.test.ts-snapshots/PageHeader-Pull-Request-Page-dark-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+161 Bytes
(100%)
...onents/PageHeader.test.ts-snapshots/PageHeader-Pull-Request-Page-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+151 Bytes
(100%)
...Header.test.ts-snapshots/PageHeader-Pull-Request-Page-dark-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+160 Bytes
(100%)
...eader.test.ts-snapshots/PageHeader-Pull-Request-Page-light-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+14 Bytes
(100%)
...er.test.ts-snapshots/PageHeader-Pull-Request-Page-light-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+163 Bytes
(100%)
...nents/PageHeader.test.ts-snapshots/PageHeader-Pull-Request-Page-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
-77 Bytes
(100%)
...eader.test.ts-snapshots/PageHeader-Pull-Request-Page-light-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
+162 Bytes
(100%)
...shots/PageHeader-Pull-Request-Page-on-Narrow-Viewport-dark-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
-11 Bytes
(100%)
...snapshots/PageHeader-Pull-Request-Page-on-Narrow-Viewport-dark-dimmed-linux.png
Oops, something went wrong.
Binary file modified
BIN
+15 Bytes
(100%)
...ts/PageHeader-Pull-Request-Page-on-Narrow-Viewport-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
+161 Bytes
(100%)
...est.ts-snapshots/PageHeader-Pull-Request-Page-on-Narrow-Viewport-dark-linux.png
Oops, something went wrong.
Binary file modified
BIN
+151 Bytes
(100%)
...shots/PageHeader-Pull-Request-Page-on-Narrow-Viewport-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
+160 Bytes
(100%)
...hots/PageHeader-Pull-Request-Page-on-Narrow-Viewport-light-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
+14 Bytes
(100%)
...s/PageHeader-Pull-Request-Page-on-Narrow-Viewport-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
+163 Bytes
(100%)
...st.ts-snapshots/PageHeader-Pull-Request-Page-on-Narrow-Viewport-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
-77 Bytes
(100%)
...hots/PageHeader-Pull-Request-Page-on-Narrow-Viewport-light-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
-670 Bytes
(93%)
...r.test.ts-snapshots/PageHeader-With-Custom-Navigation-dark-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
-653 Bytes
(93%)
...eader.test.ts-snapshots/PageHeader-With-Custom-Navigation-dark-dimmed-linux.png
Oops, something went wrong.
Binary file modified
BIN
-665 Bytes
(93%)
...est.ts-snapshots/PageHeader-With-Custom-Navigation-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
-670 Bytes
(93%)
...s/PageHeader.test.ts-snapshots/PageHeader-With-Custom-Navigation-dark-linux.png
Oops, something went wrong.
Binary file modified
BIN
-670 Bytes
(93%)
...r.test.ts-snapshots/PageHeader-With-Custom-Navigation-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
-673 Bytes
(93%)
....test.ts-snapshots/PageHeader-With-Custom-Navigation-light-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
-689 Bytes
(93%)
...st.ts-snapshots/PageHeader-With-Custom-Navigation-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
-673 Bytes
(93%)
.../PageHeader.test.ts-snapshots/PageHeader-With-Custom-Navigation-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
-673 Bytes
(93%)
....test.ts-snapshots/PageHeader-With-Custom-Navigation-light-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
-235 Bytes
(99%)
...er.test.ts-snapshots/PageHeader-With-Description-Slot-dark-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
+6 Bytes
(100%)
...Header.test.ts-snapshots/PageHeader-With-Description-Slot-dark-dimmed-linux.png
Oops, something went wrong.
Binary file modified
BIN
+19 Bytes
(100%)
...test.ts-snapshots/PageHeader-With-Description-Slot-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
+52 Bytes
(100%)
...ts/PageHeader.test.ts-snapshots/PageHeader-With-Description-Slot-dark-linux.png
Oops, something went wrong.
Binary file modified
BIN
-235 Bytes
(99%)
...er.test.ts-snapshots/PageHeader-With-Description-Slot-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
-68 Bytes
(100%)
...r.test.ts-snapshots/PageHeader-With-Description-Slot-light-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
-450 Bytes
(97%)
...est.ts-snapshots/PageHeader-With-Description-Slot-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
-5 Bytes
(100%)
...s/PageHeader.test.ts-snapshots/PageHeader-With-Description-Slot-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
-68 Bytes
(100%)
...r.test.ts-snapshots/PageHeader-With-Description-Slot-light-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
+164 Bytes
(100%)
...eHeader.test.ts-snapshots/PageHeader-With-Page-Layout-dark-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
+39 Bytes
(100%)
.../PageHeader.test.ts-snapshots/PageHeader-With-Page-Layout-dark-dimmed-linux.png
Oops, something went wrong.
Binary file modified
BIN
-128 Bytes
(100%)
...ader.test.ts-snapshots/PageHeader-With-Page-Layout-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
+153 Bytes
(100%)
...ponents/PageHeader.test.ts-snapshots/PageHeader-With-Page-Layout-dark-linux.png
Oops, something went wrong.
Binary file modified
BIN
-12 Bytes
(100%)
...eHeader.test.ts-snapshots/PageHeader-With-Page-Layout-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
+24 Bytes
(100%)
...Header.test.ts-snapshots/PageHeader-With-Page-Layout-light-colorblind-linux.png
Oops, something went wrong.
Binary file modified
BIN
+18 Bytes
(100%)
...der.test.ts-snapshots/PageHeader-With-Page-Layout-light-high-contrast-linux.png
Oops, something went wrong.
Binary file modified
BIN
+29 Bytes
(100%)
...onents/PageHeader.test.ts-snapshots/PageHeader-With-Page-Layout-light-linux.png
Oops, something went wrong.
Binary file modified
BIN
-17 Bytes
(100%)
...Header.test.ts-snapshots/PageHeader-With-Page-Layout-light-tritanopia-linux.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters