0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

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
parent 97451a93cb
commit 67b6304807

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;
}