Read the statement by Michael Teeuw here.
MMM-Spotify
-
Hi guys,
Do you know which parameter to play with into the custom.css to get the module smaller in size? (it’s taking to much place on my screen).
Thx -
@bolish
Isstyle: "mini"
still too big? It has only around 360px X 120px.
Unfortunately, there is no single magic keypoint to modify simply.
SeeMMM-Spotify.css
and redefine values on yourcss/custom.css
-
@sean thanks for feedback.
I liked the default view, but wanted it to be a little bit smaller.I was a bit lost into the .css but I will try to play around with it and see what happens.
Good idea would have been to have a single entry to modify ( like in %) so that user could adjust itself but I believe it’s very personal need, it’s maybe not worth to implement into the module.
-
@bolish
Add this into yourcss/custom.css
.:root { --sp-width: 300px; } #SPOTIFY { width: var(--sp-width); } #SPOTIFY_INFO { width: calc(var(--sp-width) - 20px); } #SPOTIFY_INFO .text { width: calc(var(--sp-width) - 70px); } #SPOTIFY_COVER { width: calc(var(--sp-width) - 40px); height: calc(var(--sp-width) - 40px); }
--sp-width:300px
is magic point. adjust it as your wish. I think 200px is the minimal value possible. -
@sean, thanks I will try in the evening
-
@Sean Works great. Tx
-
Another awesome module, thank you!
The displayed album cover goes dim when there is no playback which is nice. Would it be possible to add an option to completely hide the module when there is no playback?
-
@mmmmh
Add this into your css/custom.css#SPOTIFY.pausing {
display:none;
} -
-
@Sean said in MMM-Spotify:
@mmmmh
Add this into your css/custom.css#SPOTIFY.pausing {
display:none;
}I stopped and quit the Windows 10 Spotify app, but the artwork keeps showing.