- {{ item.name }}
+
+
{{ item.name }}
+
{{ item.motivation }}
+
-
{{ item.motivation }}
-
{{ item.kind === 'genre' ? 'Toppartister' : 'Liknande artister' }} (sådant du inte redan har)
-
- -
- {{ a.name }}
-
- ▶ YT
-
-
-
- - inget kvar efter filtrering
-
-
-
Topplåtar
-
- -
- {{ t.name }} — {{ t.artist }}
- ▶ YT
-
- - inget kvar efter filtrering
-
-
-
@@ -76,7 +66,7 @@ const stateLabel = { busy: '…', done: '✓', fanns: '✓ finns', fel: 'fel' }
.overlay {
position: fixed;
inset: 0;
- background: rgba(0, 0, 0, 0.6);
+ background: rgba(0, 0, 0, 0.65);
display: grid;
place-items: center;
z-index: 50;
@@ -84,19 +74,20 @@ const stateLabel = { busy: '…', done: '✓', fanns: '✓ finns', fel: 'fel' }
}
.modal {
- background: var(--card);
+ background: var(--bg);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 1rem;
padding: 1.2rem 1.4rem;
- width: min(30rem, 95vw);
- max-height: 85vh;
+ width: min(58rem, 95vw);
+ max-height: 88vh;
overflow-y: auto;
}
header {
display: flex;
justify-content: space-between;
- align-items: center;
+ align-items: flex-start;
+ gap: 1rem;
}
h3 {
@@ -104,61 +95,26 @@ h3 {
}
h4 {
- margin: 1rem 0 0.4rem;
+ margin: 1.1rem 0 0.6rem;
}
.close {
background: transparent;
color: var(--text-dim);
padding: 0.2rem 0.5rem;
+ flex: 0 0 auto;
}
.dim {
color: var(--text-dim);
font-weight: 400;
font-size: 0.9rem;
+ margin: 0.2rem 0 0;
}
-ul {
- list-style: none;
- margin: 0;
- padding: 0;
- display: flex;
- flex-direction: column;
- gap: 0.35rem;
-}
-
-li {
- display: flex;
- justify-content: space-between;
- align-items: center;
- gap: 0.6rem;
-}
-
-.name {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.row-actions {
- display: flex;
- gap: 0.4rem;
- flex: 0 0 auto;
-}
-
-.yt {
- color: #ff8080;
- font-size: 0.85rem;
- white-space: nowrap;
-}
-
-.mini {
- padding: 0.25rem 0.6rem;
- font-size: 0.85rem;
-}
-
-.foot {
- margin-top: 1.2rem;
+.grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
+ gap: 0.8rem;
}
diff --git a/frontend/src/components/MusicCard.vue b/frontend/src/components/MusicCard.vue
index a7e0697..fba07fd 100644
--- a/frontend/src/components/MusicCard.vue
+++ b/frontend/src/components/MusicCard.vue
@@ -53,17 +53,21 @@ async function grab() {
{{ item.motivation }}