mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 10:04:08 +03:00
Expand shevron: make clickable
This commit is contained in:
parent
7618507cda
commit
135bdbe12f
|
@ -31,8 +31,8 @@
|
||||||
'expanded': subSchema.visible
|
'expanded': subSchema.visible
|
||||||
}">
|
}">
|
||||||
<td class="param-name">
|
<td class="param-name">
|
||||||
<span class="param-name-wrap">
|
<span class="param-name-wrap" (click)="subSchema.toggle()">
|
||||||
<span (click)="subSchema.toggle()" class="param-name-content" >{{prop._name}}</span>
|
<span class="param-name-content" >{{prop._name}}</span>
|
||||||
<svg *ngIf="prop._pointer" xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve">
|
<svg *ngIf="prop._pointer" xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve">
|
||||||
<polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "/>
|
<polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|
|
@ -77,7 +77,7 @@ $array-marker-line-height: 1.5;
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.param.complex > .param-name .param-name-content {
|
.param.complex > .param-name .param-name-wrap {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user