refactor: change panel expansion indicator (#516)

This commit is contained in:
steadyjaw 2022-01-06 10:48:51 +01:00 committed by GitHub
parent 3d14e8ba46
commit 8acf2b3b7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,9 +8,8 @@
.btn-collapsible i::before {
transition: transform 500ms;
}
.icon-rotate-180:before {
transform: rotate(180deg);
.icon-rotate-90:before {
transform: rotate(90deg);
}
</style>
@ -55,7 +54,7 @@
class="btn-collapsible"
:ripple="true"
>
<v-icon :class="(!expand ? 'icon-rotate-180' : '')">mdi-chevron-down</v-icon>
<v-icon :class="(expand ? '' : 'icon-rotate-90')">mdi-chevron-down</v-icon>
</v-btn>
</v-toolbar-items>
</v-toolbar>