fix transition after height: auto

This commit is contained in:
Thomas Amland 2020-09-26 18:30:04 +02:00
parent e908831d71
commit a8e8bbdf03

View File

@ -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">