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 165165 border-bottom : 1px solid var (--text-secondary );
166166}
167167
168+ # content .cover-header a , # content .cover-header a : hover {
169+ border-bottom : none;
170+ }
171+
168172# content : not (pre ) > code {
169173 color : var (--code-props-content );
170174 font-family : "FiraCode-Regular" ;
305309
306310.cover-header .micon {
307311 position : relative;
308- z-index : 10 ;
312+ z-index : 1 ;
309313}
310314
311315.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
387387
388388 def selfTypeList (list : List [LinkToType ]): Seq [AppliedTag ] =
389389 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+ ))
393397
394398 val supertypes = signatureList(m.parents, " supertypes" , m.parents.length > 5 )
395399 val subtypes = signatureList(m.knownChildren, " subtypes" , m.knownChildren.length > 5 )
You can’t perform that action at this time.
0 commit comments