Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions stylesheets/extensions/_codehilite.scss
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,13 @@ $codehilite-whitespace: transparent;
// ----------------------------------------------------------------------------
// Rules: layout
// ----------------------------------------------------------------------------

pre, code{
white-space: pre-wrap;
word-wrap: break-word;
overflow-wrap: break-word !important;
word-wrap: break-word !important;
hyphens: auto !important;
}
// Scoped in typesetted content to match specificity of regular content
article {

Expand All @@ -232,9 +238,8 @@ article {
margin: 0;
padding: px2rem(10.5px) px2rem(12px);
background-color: transparent;
overflow: auto;
vertical-align: top;

// Override native scrollbar styles
&::-webkit-scrollbar {
width: px2rem(4px);
Expand Down