mirror of
https://github.com/Redocly/redoc.git
synced 2025-07-03 18:53:02 +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 zippy-{{type}}" [ng-class]="{'zippy-empty': empty}">
|
||||||
<div class="zippy-title" (click)="toggle()">
|
<div class="zippy-title" (click)="toggle()">
|
||||||
|
<span class="zippy-indicator">{{ visible ? '▾' : '▸' }}</span>
|
||||||
{{title}}
|
{{title}}
|
||||||
<span class="zippy-indicator"> {{ visible ? '▾' : '▸' }} </span>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="zippy-content" [ng-class]="{'zippy-hidden': !visible}">
|
<div class="zippy-content" [ng-class]="{'zippy-hidden': !visible}">
|
||||||
<ng-content></ng-content>
|
<ng-content></ng-content>
|
||||||
|
|
|
@ -39,9 +39,10 @@ $zippy-redirect-color: #AC7C09;
|
||||||
}
|
}
|
||||||
|
|
||||||
span.zippy-indicator {
|
span.zippy-indicator {
|
||||||
float: left;
|
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
margin-right: 0.1em;
|
line-height: 1;
|
||||||
|
margin-right: 0.2em;
|
||||||
|
vertical-align: text-bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
.zippy-content {
|
.zippy-content {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user