Skip to content

Commit

Permalink
refactor: change panel expansion indicator (#516)
Browse files Browse the repository at this point in the history
  • Loading branch information
steadyjaw authored Jan 6, 2022
1 parent 3d14e8b commit 8acf2b3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/ui/Panel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 8acf2b3

Please sign in to comment.