Skip to content

Commit

Permalink
Fix overflow issues for span.pre
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems committed Sep 17, 2023
1 parent afd0348 commit 558b6ba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/_themes/oxide/static/oxide.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,17 @@ html {
}
}

main p {
overflow-x: auto;
overflow-y: hidden;
}

pre {
padding: var(--text-height);
overflow: auto;
border-radius: var(--border-radius);
}
pre, .pre{
font-size: 0.888rem;
text-align: left;
font-weight: normal;
Expand Down Expand Up @@ -244,6 +251,7 @@ main {
flex: 1;
min-width: 0;
margin: 0 var(--page-spacing);
overflow-x: hidden;
}

.sidebar {
Expand Down

0 comments on commit 558b6ba

Please sign in to comment.