Skip to content

Commit 1956834

Browse files
committed
revert "feat: improved mobile layout for playlists"
This reverts commit c4703fc.
1 parent c4703fc commit 1956834

File tree

2 files changed

+3
-34
lines changed

2 files changed

+3
-34
lines changed

src/lib/index/sections/music/song.svelte

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
target="_blank"
6363
class="apple-music-link"
6464
>
65-
<Scrolling center={false}><span class="track">{song.track}</span></Scrolling>
66-
<Scrolling center={false}><span class="artist">{song.artist}</span></Scrolling>
65+
<Scrolling><span class="track">{song.track}</span></Scrolling>
66+
<Scrolling><span class="artist">{song.artist}</span></Scrolling>
6767
</a>
6868
</div>
6969
</Card>
@@ -125,31 +125,10 @@
125125
126126
.apple-music-link {
127127
margin: 5px 8px;
128-
display: flex;
129-
align-items: center;
130-
flex-direction: column;
131128
}
132129
133130
.artist {
134131
color: grey;
135-
}
136-
137-
@media (max-width: 430px) {
138-
.container {
139-
flex-direction: row;
140-
}
141-
142-
.image {
143-
height: 50px;
144-
width: 50px;
145-
flex: 0 0 50px;
146-
border-radius: 0;
147-
}
148-
149-
.apple-music-link {
150-
flex: 1 1 auto;
151-
min-width: 0;
152-
align-items: start;
153-
}
132+
font-size: 13.5px;
154133
}
155134
</style>

src/routes/music/playlist/[id]/+page.svelte

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -197,14 +197,4 @@
197197
gap: 10px;
198198
}
199199
}
200-
201-
@media (max-width: 430px) {
202-
.song {
203-
width: 100%;
204-
}
205-
206-
.songs {
207-
flex-direction: column;
208-
}
209-
}
210200
</style>

0 commit comments

Comments
 (0)