mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-24 07:30:12 +01:00
Fixed wrapping code blocks on iOS Safari
This commit is contained in:
parent
29021a55dc
commit
a6b22a4461
@ -234,6 +234,7 @@ kbd {
|
||||
box-shadow: none;
|
||||
box-decoration-break: slice;
|
||||
overflow: auto;
|
||||
word-break: normal;
|
||||
|
||||
// Override native scrollbar styles
|
||||
&::-webkit-scrollbar {
|
||||
|
@ -248,8 +248,8 @@ $codehilite-whitespace: transparent;
|
||||
// Disable user selection, so code can be easily copied without
|
||||
// accidentally also copying the line numbers
|
||||
.linenos {
|
||||
background-color: $md-color-black--lightest;
|
||||
color: $md-color-black--lighter;
|
||||
box-shadow: inset 0 0 0 px2rem(1px) $md-code-background;
|
||||
user-select: none;
|
||||
|
||||
// Reset spacings
|
||||
|
Loading…
Reference in New Issue
Block a user