File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
scaladoc/resources/dotty_res Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,20 @@ function attachAllListeners() {
97
97
}
98
98
}
99
99
100
+ document
101
+ . querySelectorAll ( ".documentableElement .signature" )
102
+ . forEach ( ( signature ) => {
103
+ const short = signature . querySelector ( ".signature-short" ) ;
104
+ const long = signature . querySelector ( ".signature-long" ) ;
105
+ const extender = document . createElement ( "span" ) ;
106
+ const extenderDots = document . createTextNode ( "..." ) ;
107
+ extender . appendChild ( extenderDots ) ;
108
+ extender . classList . add ( "extender" ) ;
109
+ if ( short && long && signature . children [ 1 ] . hasChildNodes ( ) ) {
110
+ signature . children [ 0 ] . append ( extender ) ;
111
+ }
112
+ } ) ;
113
+
100
114
const documentableLists = document . getElementsByClassName ( "documentableList" ) ;
101
115
[ ...documentableLists ] . forEach ( ( list ) => {
102
116
list . children [ 0 ] . addEventListener ( "click" , ( ) => {
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ color: var(--text-secondary);
87
87
}
88
88
89
89
.documentableElement .expand .signature-long {
90
- display : block ;
90
+ display : inline ;
91
91
}
92
92
93
93
.documentableElement .expand .extender {
You can’t perform that action at this time.
0 commit comments