File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,15 @@ main > .container {
95
95
li > ol :last-child {
96
96
margin-top : 0.25em ;
97
97
}
98
+
99
+ ul .wrap li ,
100
+ ol .wrap li {
101
+ & ,
102
+ a {
103
+ text-wrap : wrap ;
104
+ word-break : break-all ;
105
+ }
106
+ }
98
107
}
99
108
100
109
.content.archives {
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ Promise.resolve()
12
12
. then ( onSaveAnchor )
13
13
. then ( onRestoreEmailAddress )
14
14
. then ( onReferenceLinks )
15
+ . then ( onReferenceSection )
15
16
. then ( onAbbreviation )
16
17
. then ( onLinkTitle )
17
18
@@ -67,6 +68,14 @@ function onRestoreEmailAddress() {
67
68
}
68
69
}
69
70
71
+ function onReferenceSection ( ) {
72
+ const content = document . querySelector ( 'article.content' )
73
+ if ( ! content ) return
74
+ const references = content . querySelector ( '#references + ul' )
75
+ if ( ! references ) return
76
+ references . classList . add ( 'wrap' )
77
+ }
78
+
70
79
function onReferenceLinks ( ) {
71
80
const content = document . querySelector ( 'article.content' )
72
81
if ( ! content ) return
You can’t perform that action at this time.
0 commit comments