File tree 2 files changed +20
-4
lines changed
2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 2
2
.tsd-panel .tsd-member { padding-top : 0 ; }
3
3
.tsd-panel .tsd-signature , .tsd-panel .tsd-signatures { background-color : # eee ; }
4
4
5
+ .tsd-signature .tsd-header { margin : 1em 0 }
6
+ .tsd-signature .tsd-header p { margin : 0 }
7
+
5
8
/* The short text, one line description of a member */
6
9
.tsd-header { list-style : none; margin : 0 2em ; font-weight : bold; }
7
10
.tsd-header p { margin-top : 0 ; }
8
11
9
12
/* We added the short text in the .tsd-header, so don't display it in the main comment block */
10
13
.tsd-member .tsd-description .lead { display : none; }
14
+ .tsd-member .tsd-declaration .lead { display : none; }
11
15
16
+ /* Display the parameters list and returns block as inline */
12
17
ul .tsd-parameters li { margin-top : 1em ; }
13
18
ul .tsd-parameters li > * { display : inline; }
14
19
ul .tsd-parameters li > * > p { display : inline; }
15
20
16
21
.tsd-returns { margin-top : 1em ; }
17
- .tsd-returns > * { display : inline; }
22
+ .tsd-returns > * { display : inline; }
23
+
24
+ /* Draw a separator line under each h4/h5 header in a comment section */
25
+ .tsd-comment h4 , .tsd-comment h5 { border-bottom : 1px solid # AAA ; }
Original file line number Diff line number Diff line change 1
1
<div class =" tsd-signature tsd-kind-icon" >{{ #compact }}
2
2
{{{ wbr name }}} <span class =" tsd-signature-symbol" >{{ #if isOptional }} ?{{ /if }} :</span > {{ #with type }} {{> type }} {{ /with }}
3
- {{ /compact }} </div >
3
+ {{ /compact }}
4
+ {{ #if comment.shortText }}
5
+ <div class =" tsd-header" >
6
+ {{ #markdown }} {{{ comment.shortText }}} {{ /markdown }}
7
+ </div >
8
+ {{ /if }}
9
+ </div >
4
10
5
- {{> member.sources }}
11
+ <div class =" tsd-declaration" >
12
+ {{> comment }}
13
+ </div >
6
14
7
- {{> comment }}
15
+ {{> member.sources }}
8
16
9
17
{{ #if type.declaration }}
10
18
<div class =" tsd-type-declaration" >
You can’t perform that action at this time.
0 commit comments