v6: <kbd> horizontal padding
#42384
Unanswered
coliff
asked this question in
v6 Feedback
Replies: 1 comment
-
|
The rendering in your version is better for single-character I played around with some CSS in this CodePen and added a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was thinking of making a PR for the v6 docs updating the keyboard shortcuts to use the more semantically correct
<kbd>attribute but the styling of them didn't look quite right.The css variables is
--bs-kbd-padding-x: 0.25rem;Perhaps could be increased to something like:
0.4remand then it'd look neat (with a single character keyboard character appearing with a 1/1 aspect ratio.Beta Was this translation helpful? Give feedback.
All reactions