Separate Song component from queue styling to use for general case

This commit is contained in:
2024-03-15 16:53:12 -04:00
parent 0b73f16b04
commit d8e7ffd963
3 changed files with 27 additions and 28 deletions

View File

@ -5,10 +5,12 @@
top: 0;
right: 0;
width: 400px;
height: calc(100% - 78.9px); /* Adjust height to fit the queue */
height: calc(100% - 87px); /* Adjust height to fit the queue */
background-color: #424242; /* Queue background color */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
overflow-y: auto; /* Add scroll bar when queue is too long */
margin: 5px;
border-radius: 5px;
.queue-header {
background-color: #333; /* Header background color */
@ -29,31 +31,6 @@
padding-right: 10px;
padding-top: 5px;
padding-bottom: 5px;
.queue-song {
display: flex;
align-items: center;
padding: 10px;
border-bottom: 1px solid #ccc; /* Separator line color */
img {
max-width: 50px; /* Adjust maximum width for images */
margin-right: 10px; /* Add spacing between image and text */
border-radius: 5px; /* Add border radius to image */
}
.queue-song-info {
h3 {
margin: 0; /* Remove default margin for heading */
color: #fff; /* Adjust text color for song */
}
p {
margin: 0; /* Remove default margin for paragraph */
color: #aaa; /* Adjust text color for artist */
}
}
}
button {
background: none;