Expand shevron: make clickable

This commit is contained in:
Roman Hotsiy 2016-07-10 14:42:49 +03:00
parent 7618507cda
commit 135bdbe12f
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
2 changed files with 3 additions and 3 deletions

View File

@ -31,8 +31,8 @@
'expanded': subSchema.visible
}">
<td class="param-name">
<span class="param-name-wrap">
<span (click)="subSchema.toggle()" class="param-name-content" >{{prop._name}}</span>
<span class="param-name-wrap" (click)="subSchema.toggle()">
<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">
<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>

View File

@ -77,7 +77,7 @@ $array-marker-line-height: 1.5;
border-bottom: 0;
}
.param.complex > .param-name .param-name-content {
.param.complex > .param-name .param-name-wrap {
font-weight: bold;
cursor: pointer;
}