Skip to content

Commit

Permalink
fix: overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Sep 1, 2019
1 parent f0ecc01 commit 61952a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion assets/scss/_common/list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

.tree {
margin-left: -2em;
overflow: auto;
overflow: auto hidden;
white-space: nowrap;
}
.category-item {
Expand Down
2 changes: 1 addition & 1 deletion assets/scss/_common/post-gitinfo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
9 changes: 4 additions & 5 deletions assets/scss/_common/single.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ blockquote {
}
ol.toc {
padding: 0;
overflow: auto;
overflow: auto hidden;
white-space: nowrap;
}

Expand Down Expand Up @@ -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;
Expand All @@ -205,7 +205,7 @@ pre {
}
pre {
margin: 0 !important;
overflow: hidden;
overflow: auto hidden;
background-color: unset;
}
th, td {
Expand All @@ -226,7 +226,6 @@ span.lnt {
}

.katex-display {
overflow-x: auto;
overflow-y: hidden;
overflow: auto hidden;
text-indent: 0;
}

0 comments on commit 61952a2

Please sign in to comment.