🎨 Made toggle card closed by default

refs https://github.com/TryGhost/Team/issues/1209
This commit is contained in:
djordje vlaisavljevic 2021-12-06 22:15:42 +01:00 committed by Daniel Lockyer
parent 5d191e90b9
commit aa7d1e240c
No known key found for this signature in database
GPG Key ID: D21186F0B47295AD

View File

@ -3,14 +3,6 @@
}
.kg-toggle-card[data-kg-toggle-state="close"] .kg-toggle-content{
height: auto;
opacity: 1;
transition: opacity 1s ease, top .35s ease;
top: 0;
position: relative;
}
.kg-toggle-content {
height: 0;
overflow: hidden;
transition: opacity .5s ease, top .35s ease;
@ -19,6 +11,14 @@
position: relative;
}
.kg-toggle-content {
height: auto;
opacity: 1;
transition: opacity 1s ease, top .35s ease;
top: 0;
position: relative;
}
.kg-toggle-content p:first-of-type {
margin-top: 0.5em;
}