Updated toggle transition

refs https://github.com/TryGhost/Team/issues/1209
This commit is contained in:
djordje vlaisavljevic 2021-12-02 19:42:38 +01:00
parent 1a3b78bbff
commit 07855bf8dc

View File

@ -36,7 +36,7 @@
.kg-toggle-heading svg {
width: 14px;
color: rgba(124, 139, 154, 0.5);
transition: padding 0.1s ease-in;
transition: all 0.3s;
transform: rotate(-180deg);
}
@ -46,13 +46,9 @@
}
.kg-toggle-content {
transition: all .3s;
transition: padding 0.1s ease-in;
padding-top: 1.5rem;
max-height: 100vh;
overflow: hidden;
opacity: 1;
}
.kg-toggle-content > *+* {
}
}