mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 08:45:06 -04:00
Update _code.scss
If the text is very long and does not contain spaces, the block extends beyond the parent container. The maximum width limits the off-screen behavior.
This commit is contained in:
parent
6dc6489e69
commit
cd97d0f5d2
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@
|
||||||
#{$parent-selector} kbd {
|
#{$parent-selector} kbd {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 0.375rem;
|
padding: 0.375rem;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#{$parent-selector} pre {
|
#{$parent-selector} pre {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue