Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1221d15 commit 0a8bb7eCopy full SHA for 0a8bb7e
docs/stylesheets/extra.css
@@ -2,6 +2,18 @@
2
--md-footer-bg-color: #1368ca;
3
} */
4
5
+/* Force code blocks to wrap long lines */
6
+/* By default, MkDocs Material uses overflow-x: auto; on code blocks, so very long lines cause a horizontal scrollbar.*/
7
+/* code block */
8
+.md-typeset pre>code {
9
+ /* Wrap long lines */
10
+ white-space: pre-wrap;
11
+
12
+ /* Break words if needed */
13
+ /* word-break: break-word; */
14
+}
15
16
17
/* inline code */
18
.md-typeset p > code {
19
background-color: #ececef;
@@ -12,6 +24,7 @@
24
color: #c9c6c6;
25
}
26
@media (prefers-color-scheme: dark) {
27
+ /* inline code */
28
29
30
color: #000000;
0 commit comments