feat: add opacity transition to spotify widget
This commit is contained in:
parent
1cac40745f
commit
f7997e8331
2 changed files with 3 additions and 0 deletions
|
@ -138,6 +138,7 @@
|
|||
.player {
|
||||
margin-top: 6px;
|
||||
min-height: 220px;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.slider-box {
|
||||
|
|
|
@ -332,6 +332,8 @@
|
|||
(revealer :reveal expand_player
|
||||
:transition "slidedown"
|
||||
(box :class "player"
|
||||
:style "${expand_player == 'true' ? 'opacity: 1; transition: opacity ${anim_duration}' :
|
||||
'opacity: 0; transition: opacity ${anim_duration}'}"
|
||||
(playerinfo)
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue