diff --git a/src/queue.rs b/src/queue.rs
index b194df4..2e69b55 100644
--- a/src/queue.rs
+++ b/src/queue.rs
@@ -2,6 +2,19 @@ use crate::playstatus::PlayStatus;
use leptos::leptos_dom::*;
use leptos::*;
+#[component]
+fn Song(song_image_path: String, song_title: String, song_artist: String) -> impl IntoView {
+ view!{
+
+

+
+
{song_title}
+
{song_artist}
+
+
+ }
+}
+
#[component]
pub fn Queue(status: RwSignal) -> impl IntoView {
@@ -17,13 +30,7 @@ pub fn Queue(status: RwSignal) -> impl IntoView {
{
status.with(|status| status.queue.iter()
.map(|song| view! {
-
-
})
-
-
{song.name.clone()}
-
{song.artist.clone()}
-
-
+
})
.collect::>())
}
diff --git a/style/queue.scss b/style/queue.scss
index 21df7cf..486a18d 100644
--- a/style/queue.scss
+++ b/style/queue.scss
@@ -5,8 +5,9 @@
top: 0;
right: 0;
width: 300px;
- height: 55.3rem;
- background-color: $queue-background-color; /* Queue background color */
+ height: 45rem;
+ overflow: hidden;
+ background-color: white;/*$queue-background-color; Queue background color */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
.queue-header {