fix(playlist): add bottom spacer when suggestions section is absent
Prevents the back-to-top button from covering the last track's action buttons on playlists without a suggestions section.
This commit is contained in:
1 parent
cdc051d476
commit
cb3b518eb2
1 file changed
+9
@@ -2189,6 +2189,11 @@
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<!-- Bottom spacer when no suggestions will render (prevents back-to-top covering last track actions) -->
|
||||
{#if !isOwnPlaylist || !suggestionsEnabled || searchQuery}
|
||||
<div class="track-list-bottom-spacer"></div>
|
||||
{/if}
|
||||
|
||||
<!-- Playlist Suggestions -->
|
||||
<!-- >=2000 tracks: hidden (Qobuz limit reached) -->
|
||||
<!-- >500 tracks: manual launch button shown here, computation deferred -->
|
||||
@@ -2976,6 +2981,10 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
.track-list-bottom-spacer {
|
||||
height: 64px;
|
||||
}
|
||||
|
||||
/* Back to top floating button */
|
||||
.back-to-top {
|
||||
position: fixed;
|
||||
|
||||
Reference in new issue
Block a user