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