瀏覽代碼

修复 歌曲名超出

DESKTOP-SVI9JE1\muzen 1 年之前
父節點
當前提交
fc0d3defaf
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/components/my-audio/my-audio.vue

+ 6 - 0
src/components/my-audio/my-audio.vue

@@ -65,11 +65,17 @@ export default {
     .song {
       font-size: 16px;
       margin-bottom: 16px;
+      overflow: hidden;
+      white-space: nowrap;
+      text-overflow: ellipsis;
     }
 
     .singer {
       font-size: 12px;
       opacity: 0.6;
+      overflow: hidden;
+      white-space: nowrap;
+      text-overflow: ellipsis;
     }
   }