Skip to content

Commit a569ee3

Browse files
adding transiton
1 parent ebdbfd6 commit a569ee3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/components/TabsBar/TabsBar.vue

+9-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,15 @@
4646
+
4747
</button>
4848
<button class="tabsbar-toggle" @click="toggleHeight">
49-
<i :class="showMaxHeight ? 'fa fa-chevron-down' : 'fa fa-chevron-up'"></i>
49+
<i
50+
class="fa fa-chevron-up"
51+
:style="
52+
showMaxHeight
53+
? 'transform: rotate(180deg); transition: transform 0.5s'
54+
: 'transform: rotate(0deg); transition: transform 0.5s'
55+
"
56+
>
57+
</i>
5058
</button>
5159
</div>
5260
<!-- <MessageBox

0 commit comments

Comments
 (0)