Skip to content

Commit 993f222

Browse files
committed
Fix styling animation for ios
1 parent c194018 commit 993f222

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

components/DrawerItem/index.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ export default {
4242

4343
<style lang="scss" scoped>
4444
.drawer-item {
45-
display: inline-block;
46-
height: 12.8vh;
45+
display: flex;
46+
flex-direction: column;
47+
height: 12.8%;
4748
width: 100vw;
4849
margin-bottom: -4px;
4950
background-color: #343332;
@@ -52,8 +53,6 @@ export default {
5253
overflow: hidden;
5354
5455
&.is-active {
55-
display: flex;
56-
flex-direction: column;
5756
height: 100%;
5857
}
5958

0 commit comments

Comments
 (0)