-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PageHeader: Handle responsive CSS properties with breakpoints (#2662)
* try using media query instead of hook * Update to use css media queries and make the func more generic * add comments and rename the function * update unit tests * add changeset * remove unused imports * address code review feedback * type fixes & small adj & add fallback CSS declaration * type fix and add comment * update tests * update changeset description * rename the function and move it into utils/
- Loading branch information
1 parent
d356be8
commit 1266b10
Showing
5 changed files
with
355 additions
and
85 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': minor | ||
--- | ||
|
||
PageHeader: Add a util function that returns breakpoint styles with the given CSS property and values |
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
Oops, something went wrong.