diff --git a/src/components/common/app.scss b/src/components/common/app.scss index 140b1ac7..370e43ec 100644 --- a/src/components/common/app.scss +++ b/src/components/common/app.scss @@ -57,11 +57,6 @@ body { } } -pre > code { - overflow-x: auto; - white-space: pre; -} - .table-wrapper { max-width: 100%; overflow: auto; diff --git a/src/components/common/base.scss b/src/components/common/base.scss index c442eded..bd24f2ef 100644 --- a/src/components/common/base.scss +++ b/src/components/common/base.scss @@ -111,7 +111,8 @@ pre > code { display: block; padding: 0.5em; -webkit-text-size-adjust: none; - white-space: pre-wrap; + overflow-x: auto; + white-space: pre; } .toc ul {