diff --git a/assets/scss/_common/list.scss b/assets/scss/_common/list.scss index 58a5a2ec..01b74989 100644 --- a/assets/scss/_common/list.scss +++ b/assets/scss/_common/list.scss @@ -62,7 +62,7 @@ .tree { margin-left: -2em; - overflow: auto; + overflow: auto hidden; white-space: nowrap; } .category-item { diff --git a/assets/scss/_common/post-gitinfo.scss b/assets/scss/_common/post-gitinfo.scss index e230fa07..93eeaeb5 100644 --- a/assets/scss/_common/post-gitinfo.scss +++ b/assets/scss/_common/post-gitinfo.scss @@ -4,7 +4,7 @@ display: flex; justify-content: space-between; color: alpha(var(--color-contrast-medium), 0.8); - overflow-x: auto; + overflow: auto hidden; a { color: alpha(var(--color-contrast-medium), 0.8); &:hover { diff --git a/assets/scss/_common/single.scss b/assets/scss/_common/single.scss index 01d8c7b8..e8be552a 100644 --- a/assets/scss/_common/single.scss +++ b/assets/scss/_common/single.scss @@ -118,7 +118,7 @@ blockquote { } ol.toc { padding: 0; - overflow: auto; + overflow: auto hidden; white-space: nowrap; } @@ -184,7 +184,7 @@ code { font-size: 80%; } pre { - overflow: auto; + overflow: auto hidden; font-size: $fontSize * 0.8; margin: ($fontSize * 2) 0; padding: 1em; @@ -205,7 +205,7 @@ pre { } pre { margin: 0 !important; - overflow: hidden; + overflow: auto hidden; background-color: unset; } th, td { @@ -226,7 +226,6 @@ span.lnt { } .katex-display { - overflow-x: auto; - overflow-y: hidden; + overflow: auto hidden; text-indent: 0; } \ No newline at end of file