-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add z index token for nav to support NexusLayoutHeader (#1460)
## 📝 Changes before: ![before](https://github.com/user-attachments/assets/0c932abf-7555-4e36-8aab-aac9bf650495) after: ![after](https://github.com/user-attachments/assets/55fb2940-ff3b-4560-96db-e014dd6181eb) ## ✅ Checklist Easy UI has certain UX standards that must be met. In general, non-trivial changes should meet the following criteria: - [ ] ~Visuals match Design Specs in Figma~ - [x] Stories accompany any component changes - [x] Code is in accordance with our style guide - [x] Design tokens are utilized - [ ] ~Unit tests accompany any component changes~ - [ ] ~TSDoc is written for any API surface area~ - [ ] ~Specs are up-to-date~ - [x] Console is free from warnings - [x] No accessibility violations are reported - [x] Cross-browser check is performed (Chrome, Safari, Firefox) - [x] Changeset is added ~Strikethrough~ any items that are not applicable to this pull request.
- Loading branch information
1 parent
2f31d6f
commit 00a9497
Showing
4 changed files
with
19 additions
and
3 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,6 @@ | ||
--- | ||
"@easypost/easy-ui-tokens": minor | ||
"@easypost/easy-ui": minor | ||
--- | ||
|
||
feat: adds z-index token for nav to support NexusLayoutHeader |
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 |
---|---|---|
|
@@ -21,6 +21,7 @@ | |
} | ||
|
||
.header { | ||
z-index: design-token("z-index.nav"); | ||
position: sticky; | ||
top: 0; | ||
|
||
|
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