File tree 2 files changed +15
-4
lines changed
2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,11 @@ module.exports = {
14
14
}
15
15
16
16
if ( ! type . type ) {
17
- let str = `<a href="../${ type . package } /${ this . asciiName ( type . name ) } .html">${ type . name } </a>` ;
17
+ let str = `<div class="type">< a href="../${ type . package } /${ this . asciiName ( type . name ) } .html">${ type . name } </a>` ;
18
18
if ( type . arguments . length > 0 ) {
19
19
str += `🐚${ type . arguments . map ( arg => this . link ( arg ) ) . join ( '' ) } 🍆` ;
20
20
}
21
+ str += '</div>' ;
21
22
return str ;
22
23
}
23
24
Original file line number Diff line number Diff line change @@ -190,10 +190,11 @@ section,
190
190
}
191
191
192
192
.link-list {
193
+ > * {
194
+ display : block ;
195
+ }
196
+
193
197
a {
194
- display : flex ;
195
- align-items : center ;
196
- width : 100% ;
197
198
padding : 0.2em ;
198
199
margin : 0 ;
199
200
border : 2px solid $p-gray ;
@@ -222,6 +223,15 @@ section,
222
223
border-bottom-right-radius : 4px ;
223
224
}
224
225
}
226
+
227
+
228
+ .type {
229
+ display : block ;
230
+
231
+ > * {
232
+ display : inline-block ;
233
+ }
234
+ }
225
235
}
226
236
227
237
.toc {
You can’t perform that action at this time.
0 commit comments