fix(CopyButton, LiveClock): 修改按钮大小为 'icon',移除硬编码颜色配置

This commit is contained in:
雨霖铃
2026-05-27 17:07:39 +08:00
parent e263b63ced
commit 62c880b0a8
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -88,8 +88,7 @@ const LiveClock = React.memo(({ unit, onUseNow, className, ...props }: LiveClock
<CopyButton
text={currentDisplay.text}
tooltip={t('timestamp:copyTsTooltip')}
size="sm"
className="h-7 w-7 rounded-md border" // 移除了硬编码的颜色配置表,完全交由组件的内置 Class 渲染
className="h-7 w-7 rounded-md border"
/>
</div>
);