Skip to content

Commit

Permalink
fix: Limit overflow-wrap: break-word to paragraphs and references (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert authored Feb 6, 2023
1 parent 1afce66 commit 35d1241
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ietf/static/css/document_html_txt.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@
margin-bottom: var(--line);
margin-left: 3ch;

section > p, section > dl.references > dd {
/* 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;
Expand Down

0 comments on commit 35d1241

Please sign in to comment.