ソースを参照

fix(AddToPlaylist): No playlists text not centred and create playlist icon was grey

Owen Diffey 3 年 前
コミット
b1bdbefc17
1 ファイル変更14 行追加1 行削除
  1. 14 1
      frontend/src/components/AddToPlaylistDropdown.vue

+ 14 - 1
frontend/src/components/AddToPlaylistDropdown.vue

@@ -48,7 +48,9 @@
 					</p>
 					</p>
 				</button>
 				</button>
 			</div>
 			</div>
-			<p v-else>You haven't created any playlists.</p>
+			<p v-else class="no-playlists">
+				You haven't created any playlists.
+			</p>
 
 
 			<button
 			<button
 				id="create-playlist"
 				id="create-playlist"
@@ -177,3 +179,14 @@ export default {
 	}
 	}
 };
 };
 </script>
 </script>
+
+<style lang="scss" scoped>
+.no-playlists {
+	text-align: center;
+	margin-top: 10px;
+}
+
+#create-playlist .material-icons {
+	color: var(--white);
+}
+</style>