fix: Linewrap lines > 72ch in htmlized view (#4974)
* fix: Linewrap lines > 72ch in htmlized view
* fix: Make Safari break long words (URLs)
* Use same fix as d242f1ff1f
This commit is contained in:
parent
faf68bc290
commit
cfce342ff6
|
@ -166,6 +166,11 @@ $tooltip-margin: inherit !default;
|
|||
|
||||
.rfcmarkup {
|
||||
|
||||
pre {
|
||||
width: 72ch;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
|
|
|
@ -43,6 +43,12 @@
|
|||
margin-bottom: var(--line);
|
||||
margin-left: 3ch;
|
||||
|
||||
/* Really long lines can wrap when all else fails.
|
||||
* This won't affect <pre> or <table>, or cases where soft-wrapping occurs.
|
||||
* Mostly this exists so that long URLs wrap properly in Safari, which
|
||||
* doesn't break words at '/' like other browsers. */
|
||||
overflow-wrap: break-word;
|
||||
|
||||
h1, h2, h3, h4, h5 {
|
||||
font-weight: bold;
|
||||
font-size: inherit;
|
||||
|
|
Loading…
Reference in a new issue