浏览代码

Cell 组件 title 过长时与右侧 detail 挤到一块,增加一点间距。

893358308 3 年之前
父节点
当前提交
3ea85323b1
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      components/src/cell/Cell.svelte

+ 1 - 1
components/src/cell/Cell.svelte

@@ -136,7 +136,7 @@
         mxClass[mx] || mxClass['2']
     }${radiusObj[radius] || radiusObj['lg']} ${shadowClass[shadow] || shadowClass['sm']}${love ? ' text-xl' : ''} ${injClass}`}
 >
-    <div class={`flex justify-between py-4${line && my === '0' ? ' border-b border-black/5 dark:border-white/5' : ''}`}>
+    <div class={`flex justify-between gap-4 py-4${line && my === '0' ? ' border-b border-black/5 dark:border-white/5' : ''}`}>
         <!-- left -->
         <div class="flex justify-between">
             {#if left === ''}