Small CSS change 01-29-2017, 03:05 AM
#1
The current CSS rules are the same for both code blocks and quotes, meaning that quotes don't have the right "word-break" value and get broken wherever instead of just on spaces and hyphens. The following small edit removes the breaks from quotes, but retains them for code tags.
Edit: new CSS also limits the height of code tags, so users don't need to scroll past big blocks of code if they don't want to view all of it.
Old CSS:
New CSS:
Edit: new CSS also limits the height of code tags, so users don't need to scroll past big blocks of code if they don't want to view all of it.
Old CSS:
Code:
blockquote, .codeblock {
padding: 6px;
background-color: rgba(0,0,0,0.200);
border: 1px solid rgba(255,255,255,0.040);
margin: 8px 0px;
overflow: auto;
word-break: break-all;
}
New CSS:
Code:
blockquote, .codeblock {
padding: 6px;
background-color: rgba(0,0,0,0.200);
border: 1px solid rgba(255,255,255,0.040);
margin: 8px 0px;
overflow: auto;
}
.codeblock .body {
word-break: break-all;
max-height: 450px;
}
(This post was last modified: 01-30-2017, 05:49 PM by Inori.)
It's often the outcasts, the iconoclasts ... those who have the least to lose because they
don't have much in the first place, who feel the new currents and ride them the farthest.
don't have much in the first place, who feel the new currents and ride them the farthest.