-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(KeybindingHint): Convert to CSS modules behind feature flag (#5326)
* feat(KeybindingHint): Convert to CSS modules behind feature flag * add className prop
- Loading branch information
1 parent
0aa7474
commit 1d79cc5
Showing
5 changed files
with
66 additions
and
23 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 | ||
--- | ||
|
||
Convert KeybindingHint to CSS modules behind feature flag |
15 changes: 15 additions & 0 deletions
15
packages/react/src/KeybindingHint/KeybindingHint.module.css
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,15 @@ | ||
.KeybindingHint { | ||
position: relative; | ||
padding: 0; | ||
overflow: visible; | ||
font-family: inherit; | ||
font-size: inherit; | ||
/* stylelint-disable-next-line primer/typography */ | ||
line-height: unset; | ||
color: inherit; | ||
white-space: nowrap; | ||
vertical-align: baseline; | ||
background: none; | ||
border: none; | ||
box-shadow: none; | ||
} |
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