mirror of
https://github.com/Redocly/redoc.git
synced 2025-04-15 14:21:59 +03:00
zippy indicator minor ui fix
This commit is contained in:
parent
d30a2c5529
commit
83abbfc486
|
@ -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 ? '▾' : '▸' }}</span>
|
||||
{{title}}
|
||||
<span class="zippy-indicator"> {{ visible ? '▾' : '▸' }} </span>
|
||||
</div>
|
||||
<div class="zippy-content" [ng-class]="{'zippy-hidden': !visible}">
|
||||
<ng-content></ng-content>
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user