align-items: center;
}
+.song-list-pfp-container {
+ margin: 5px;
+}
+
div.song-info {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
flex-grow: 1;
- margin: 5px;
+ margin: 5px 0px;
+ min-width: 0;
+ overflow: hidden;
}
/* Artist on separate line for mobile */
div.player-info {
display: flex;
flex-direction: row;
- flex-wrap: nowrap;
+ flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 10px;
<img id="player-pfp" class="small-pfp" src="" onerror="this.style.display = 'none'">
<a id="player-title">Not Playing</a>
<span id="player-info-sep" hidden>-</span>
- <a id="player-artist" class="profile-link" hidden></a>
- <span id="player-collabs"></span>
+ <div>
+ <a id="player-artist" class="profile-link" hidden></a>
+ <span id="player-collabs"></span>
+ </div>
</div>
<div class="player-controls">
<button onclick="songPrevious()" class="player-button">
click the play button on a new song.
<ul>
<li>Persistent audio player</li>
- <li>Profile links on the home page now use profile colors</li>
- <li>General visual cleanup for song lists</li>
+ <li>Profile links on the home page now use profile pictures and colors</li>
+ <li>General visual cleanup for song lists and player</li>
<li>You can now click the song title in the player to go to the song page</li>
</ul>
{% for song in songs %}
<div class="song" data-song="{{ song.json() }}">
<div class="song-main">
- <div class="song-info">
+ <div class="song-list-pfp-container">
{%- if song.user_has_pfp %}
<!-- Profile Picture -->
<img class="small-pfp" src="/pfp/{{ song.userid }}" onerror="this.style.display = 'none'" />
- {%- else -%}
- <div class="spacer"></div>
{%- endif %}
+ </div>
+ <div class="song-info">
<!-- Song Title -->
<div class="song-title"><a href="/song/{{ song.userid }}/{{ song.songid }}?action=view">{{ song.title }}</a></div>