How to use “standardized track listings” in Spotify apps

前端 未结 2 971
一向
一向 2020-12-18 10:29

The Spotify UI guidelines for Spotify apps (at https://developer.spotify.com/technologies/apps/guidelines/design/) say \"When listing tracks in your app, use our standardize

2条回答
  •  情话喂你
    2020-12-18 11:09

    Thanks for asking, I had exactly the same question too!

    I too get the issue where i get no actual content added - just the wrapper div. Not including api.css makes it work, but the list is obviously not styled. Including css/list.css directly breaks it too. Creating my own copy and selectively commenting out list.css I found the offending rule to be:

    .sp-list > div {
    

    if you change this to be

    .sp-list {
    

    then it renders fine. No idea what is going on. Obviously this solution is not idea because I've just duplicated what's meant to be a common resource...

提交回复
热议问题