fix(callouts): set height to entire callout content

This commit is contained in:
Emile Bangma 2025-11-05 16:22:18 +01:00 committed by GitHub
parent 0ecb859d2d
commit cff431ca31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -123,13 +123,16 @@
transform: rotateZ(-90deg);
}
.callout-content > :first-child {
transition:
height 0.1s cubic-bezier(0.02, 0.01, 0.47, 1),
margin 0.1s cubic-bezier(0.02, 0.01, 0.47, 1);
overflow-y: clip;
.callout-content {
height: 0;
margin-top: -1rem;
& > :first-child {
transition:
height 0.1s cubic-bezier(0.02, 0.01, 0.47, 1),
margin 0.1s cubic-bezier(0.02, 0.01, 0.47, 1);
overflow-y: clip;
height: 0;
margin-top: -1rem;
}
}
}
}