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:
Andrey Orlov 2024-03-13 22:31:29 +04:00 committed by GitHub
parent 6dc6489e69
commit cd97d0f5d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,6 +49,7 @@
#{$parent-selector} kbd {
display: inline-block;
padding: 0.375rem;
max-width: 100%;
}
#{$parent-selector} pre {