From 22ca6e0175ba7591ba5455750e3e0936b5517776 Mon Sep 17 00:00:00 2001 From: Erik Duxstad Date: Sat, 20 Feb 2021 16:45:18 -0500 Subject: [PATCH] Fix playlist header button spacing Previously there was no spacing between the "Play all" and "Edit" button in the playlist view. This fixes the issue by putting all header buttons into their own "ui buttons" div similar to the ArtistBase.vue component. --- changes/changelog.d/1271.enhancement | 1 + front/src/views/playlists/Detail.vue | 65 +++++++++++++++------------- 2 files changed, 37 insertions(+), 29 deletions(-) create mode 100644 changes/changelog.d/1271.enhancement diff --git a/changes/changelog.d/1271.enhancement b/changes/changelog.d/1271.enhancement new file mode 100644 index 000000000..17c1d1132 --- /dev/null +++ b/changes/changelog.d/1271.enhancement @@ -0,0 +1 @@ +Add spacing after "Play all" button in playlist view (!1271) diff --git a/front/src/views/playlists/Detail.vue b/front/src/views/playlists/Detail.vue index 1af68e7c9..de2a7b3e4 100644 --- a/front/src/views/playlists/Detail.vue +++ b/front/src/views/playlists/Detail.vue @@ -15,40 +15,46 @@ :translate-n="playlist.tracks_count" :translate-params="{count: playlist.tracks_count, username: playlist.user.username}" translate-context="Content/Playlist/Header.Subtitle"> - Playlist containing %{ count } track, by %{ username } + Playlist containing %{ count } track, by %{ username }
- Play all - - - - - Delete -

- Do you want to delete the playlist "%{ playlist }"? -

-

This will completely delete this playlist and cannot be undone.

-
Delete playlist
-
- - +
+
+ Play all +
+
+ +
+
+ + + Delete +

+ Do you want to delete the playlist "%{ playlist }"? +

+

This will completely delete this playlist and cannot be undone.

+
Delete playlist
+
+
+
+

Embed this playlist on your website

@@ -62,7 +68,8 @@ Cancel -
+
+