File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
resources/dotty_res/styles/theme/layout
src/dotty/tools/scaladoc/renderers Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 165
165
border-bottom : 1px solid var (--text-secondary );
166
166
}
167
167
168
+ # content .cover-header a , # content .cover-header a : hover {
169
+ border-bottom : none;
170
+ }
171
+
168
172
# content : not (pre ) > code {
169
173
color : var (--code-props-content );
170
174
font-family : "FiraCode-Regular" ;
305
309
306
310
.cover-header .micon {
307
311
position : relative;
308
- z-index : 10 ;
312
+ z-index : 1 ;
309
313
}
310
314
311
315
.cover-header .micon .companion {
Original file line number Diff line number Diff line change @@ -387,9 +387,13 @@ class MemberRenderer(signatureRenderer: SignatureRenderer)(using DocContext) ext
387
387
388
388
def selfTypeList (list : List [LinkToType ]): Seq [AppliedTag ] =
389
389
if list.isEmpty then Nil
390
- else Seq (div(cls := " mono-small-inline" ) { list.map { link =>
391
- div(link.signature.map(renderElement(_)))
392
- }})
390
+ else Seq (
391
+ div(cls := " mono-small-inline supertypes" )(
392
+ span(),
393
+ list.map { link =>
394
+ div(link.signature.map(renderElement(_)))
395
+ }
396
+ ))
393
397
394
398
val supertypes = signatureList(m.parents, " supertypes" , m.parents.length > 5 )
395
399
val subtypes = signatureList(m.knownChildren, " subtypes" , m.knownChildren.length > 5 )
You can’t perform that action at this time.
0 commit comments