File tree 2 files changed +22
-23
lines changed
2 files changed +22
-23
lines changed Original file line number Diff line number Diff line change 1
- . tsd-panel . tsd- member {
2
- padding-top : 0 ;
3
- }
1
+ /* Change the member layout to a grey box */
2
+ . tsd-panel . tsd-member { padding-top : 0 ; }
3
+ . tsd-panel . tsd-signature , . tsd-panel . tsd-signatures { background-color : # eee ; }
4
4
5
- . tsd-panel . tsd-signature , . tsd-panel . tsd-signatures {
6
- background-color : # eee ;
7
- }
5
+ /* The short text, one line description of a member */
6
+ . tsd-header { list-style : none; margin : 0 2 em ; font-weight : bold; }
7
+ . tsd-header p { margin-top : 0 ; }
8
8
9
- .tsd-header {
10
- list-style : none;
11
- margin : 0 2em ;
12
- font-weight : bold;
13
- }
9
+ /* We added the short text in the .tsd-header, so don't display it in the main comment block */
10
+ .tsd-member .tsd-description .lead { display : none; }
14
11
15
- .tsd-header p {
16
- margin-top : 0 ;
17
- }
12
+ ul .tsd-parameters li { margin-top : 1 em ; }
13
+ ul . tsd-parameters li > * { display : inline; }
14
+ ul . tsd-parameters li > * > p { display : inline; }
18
15
19
- .tsd-member .tsd-description .lead {
20
- display : none;
21
- }
16
+ .tsd-returns { margin-top : 1em ; }
17
+ .tsd-returns > * { display : inline; }
Original file line number Diff line number Diff line change 11
11
{{ #each parameters }}
12
12
<li >
13
13
<h5 >{{ #compact }}
14
- {{ #each flags }}
15
- <span class =" tsd-flag ts-flag{{ this }} " >{{ this }} </span >
16
- {{ /each }}
17
14
{{ #if flags.isRest }} <span class =" tsd-signature-symbol" >...</span >{{ /if }}
18
- {{ name }} :
15
+ {{ name }} {{ #each flags }}
16
+ <span class =" tsd-flag ts-flag{{ this }} " >{{ this }} </span >
17
+ {{ /each }} :
19
18
{{ #with type }} {{> type }} {{ /with }}
20
19
{{ #if defaultValue }}
21
20
<span class =" tsd-signature-symbol" >
25
24
{{ /if }}
26
25
{{ /compact }} </h5 >
27
26
28
- {{> comment }}
27
+ {{ #if comment }}
28
+ : {{> comment }}
29
+ {{ /if }}
29
30
30
31
{{ #if type.declaration }}
31
32
{{ #with type.declaration }}
38
39
{{ /if }}
39
40
40
41
{{ #if type }}
42
+ <div class =" tsd-returns" >
41
43
<h4 class =" tsd-returns-title" >Returns {{ #with type }} {{> type }} {{ /with }} </h4 >
42
44
43
45
{{ #if comment.returns }}
44
- {{ #markdown }} {{{ comment.returns }}} {{ /markdown }}
46
+ : {{ #markdown }} {{{ comment.returns }}} {{ /markdown }}
45
47
{{ /if }}
46
48
47
49
{{ #if type.declaration }}
48
50
{{ #with type.declaration }}
49
51
{{> parameter }}
50
52
{{ /with }}
51
53
{{ /if }}
54
+ </div >
52
55
{{ /if }}
53
56
54
57
{{ #unless hideSources }}
You can’t perform that action at this time.
0 commit comments