Skip to content

Commit 074ad9c

Browse files
committed
Fix gap left by hidden containers
1 parent 4e05b4a commit 074ad9c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/vis-physical/styles.less

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,19 +219,19 @@
219219
}
220220

221221
@keyframes hide {
222-
0% { opacity: 1; transform: scale(1); max-height: 500px; }
223-
100% { opacity: 0; transform: scale(0); max-height: 0; }
222+
0% { opacity: 1; transform: scale(1); max-height: 500px; }
223+
100% { opacity: 0; transform: scale(0); max-height: 0; margin: 0; }
224224
}
225225

226226
@keyframes show {
227-
0% { opacity: 0; transform: scale(0); max-height: 0; }
227+
0% { opacity: 0; transform: scale(0); max-height: 0; margin: 0; }
228228
100% { opacity: 1; transform: scale(1); max-height: 500px; }
229229
}
230230

231-
.hide {
231+
#vis-physical .container.hide {
232232
animation: hide .5s forwards;
233233
}
234234

235-
.show {
235+
#vis-physical .container.show {
236236
animation: show .5s forwards;
237237
}

0 commit comments

Comments
 (0)