mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03: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-shadow: none;
|
||||||
box-decoration-break: slice;
|
box-decoration-break: slice;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
word-break: normal;
|
||||||
|
|
||||||
// Override native scrollbar styles
|
// Override native scrollbar styles
|
||||||
&::-webkit-scrollbar {
|
&::-webkit-scrollbar {
|
||||||
|
@ -248,8 +248,8 @@ $codehilite-whitespace: transparent;
|
|||||||
// Disable user selection, so code can be easily copied without
|
// Disable user selection, so code can be easily copied without
|
||||||
// accidentally also copying the line numbers
|
// accidentally also copying the line numbers
|
||||||
.linenos {
|
.linenos {
|
||||||
background-color: $md-color-black--lightest;
|
|
||||||
color: $md-color-black--lighter;
|
color: $md-color-black--lighter;
|
||||||
|
box-shadow: inset 0 0 0 px2rem(1px) $md-code-background;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
// Reset spacings
|
// Reset spacings
|
||||||
|
Loading…
Reference in New Issue
Block a user