zippy indicator minor ui fix

This commit is contained in:
Roman Hotsiy 2015-11-29 20:04:21 +02:00
parent d30a2c5529
commit 83abbfc486
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<div class="zippy zippy-{{type}}" [ng-class]="{'zippy-empty': empty}">
<div class="zippy-title" (click)="toggle()">
<span class="zippy-indicator">{{ visible ? '&blacktriangledown;' : '&blacktriangleright;' }}</span>
{{title}}
<span class="zippy-indicator"> {{ visible ? '&blacktriangledown;' : '&blacktriangleright;' }} </span>
</div>
<div class="zippy-content" [ng-class]="{'zippy-hidden': !visible}">
<ng-content></ng-content>

View File

@ -39,9 +39,10 @@ $zippy-redirect-color: #AC7C09;
}
span.zippy-indicator {
float: left;
font-size: 1.5em;
margin-right: 0.1em;
line-height: 1;
margin-right: 0.2em;
vertical-align: text-bottom;
}
.zippy-content {