File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
lib/components/EndpointLink Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ <h5 class="http-verb" [ngClass]="verb">{{verb}}</h5>
3
3
< span > <!--
4
4
--> < span class ="method-api-url-path "> {{path}}</ span > <!--
5
5
--> </ span >
6
- < svg class ="expand-icon " xmlns ="http://www.w3.org/2000/svg " version ="1.1 " x ="0 " y ="0 " viewBox ="0 0 24 24 " xml:space ="preserve ">
7
- < polygon fill ="white " points ="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "/>
8
- </ svg >
9
6
</ div >
7
+ < svg class ="expand-icon " xmlns ="http://www.w3.org/2000/svg " version ="1.1 " x ="0 " y ="0 " viewBox ="0 0 24 24 " xml:space ="preserve ">
8
+ < polygon fill ="white " points ="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "/>
9
+ </ svg >
10
10
< div class ="servers-overlay " [@overlayExpand] ="expanded ? 'expanded' : 'collapsed' ">
11
11
< div *ngFor ="let server of servers " class ="server-item ">
12
12
< div class ="description " [innerHtml] ="server.description | marked "> </ div >
Original file line number Diff line number Diff line change 7
7
}
8
8
9
9
.method-endpoint {
10
- padding : 10px 20px ;
10
+ padding : 10px 30 px 10 px 20px ;
11
11
border-radius : $border-radius * 2 ;
12
12
background-color : darken ($black , 2% );
13
13
display : block ;
14
14
font-weight : $light ;
15
15
white-space : nowrap ;
16
- overflow-x : auto ;
16
+ overflow-x : hidden ;
17
+ text-overflow : ellipsis ;
17
18
border : 1px solid transparent ;
18
19
}
19
20
82
83
width : 20px ;
83
84
display : inline-block ;
84
85
float : right ;
85
- margin-top : 2px ;
86
86
background : darken ($black , 2% );
87
87
transform : rotateZ (0 );
88
88
transition : all 0.2s ease ;
89
+ top : 15px ;
90
+ right : 5px ;
91
+ position : absolute ;
89
92
}
90
93
91
94
:host .expanded {
You can’t perform that action at this time.
0 commit comments