Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit 603aa75

Browse files
committed
update demo page
1 parent ab51a4e commit 603aa75

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

demo/src/App.vue

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default {
4242
};
4343
},
4444
mounted() {
45-
this.animations = animations;
45+
this.animations = animations.sort((a, b) => (a.name > b.name ? 1 : -1));
4646
},
4747
methods: {
4848
animate() {
@@ -73,13 +73,17 @@ export default {
7373
width: 200px;
7474
display: inline-block;
7575
margin-right: 30px;
76-
padding: 30px 20px;
76+
appearance: none;
77+
padding: 10px 20px;
78+
background: #ffffff;
7779
}
7880
.animation-toggle-button {
79-
padding: 5px 10px;
81+
padding: 10px 20px;
8082
border-radius: 4px;
8183
color: white;
8284
background-color: #44a1df;
85+
border: 1px solid #44a1df;
86+
font-weight: 700;
8387
cursor: pointer;
8488
}
8589
#preview {

0 commit comments

Comments
 (0)