fix transition after height: auto
This commit is contained in:
parent
e908831d71
commit
a8e8bbdf03
@ -64,10 +64,12 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
transition: 0.5s
|
max-height: 0;
|
||||||
|
transition: max-height 0.5s;
|
||||||
}
|
}
|
||||||
.visible {
|
.visible {
|
||||||
height: auto;
|
height: auto;
|
||||||
|
max-height: 100px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user