mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-03 14:20:50 +08:00
🐞 fix: 优化收藏列表样式,添加条件类以支持组件最大宽度
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
<div v-if="favoriteList.length === 0" class="empty-tip">
|
||||
<n-empty :description="t('favorite.emptyTip')" />
|
||||
</div>
|
||||
<div v-else class="favorite-list">
|
||||
<div v-else class="favorite-list" :class="{ 'max-w-[400px]': isComponent }">
|
||||
<song-item
|
||||
v-for="(song, index) in favoriteSongs"
|
||||
:key="song.id"
|
||||
|
||||
Reference in New Issue
Block a user