style: 调整刷新按钮的样式和尺寸,优化用户界面

This commit is contained in:
ooodc 2026-06-07 18:01:59 +08:00
parent eeea7d44d0
commit 7e8b6a832e

View File

@ -56,14 +56,14 @@ export function TopicList({
<button
onClick={onRefresh}
disabled={!sessionId}
className={`flex items-center gap-1 rounded-lg px-3 py-1.5 text-sm transition-all ${
className={`flex items-center gap-1 rounded-lg px-2 py-1 text-xs transition-all ${
!sessionId
? 'bg-[var(--overlay-subtle)] text-[var(--text-muted)] cursor-not-allowed'
: 'bg-[var(--overlay-subtle)] text-[var(--text-secondary)] hover:bg-[var(--overlay-medium)] hover:text-[var(--accent-cyan)] border border-[var(--border-color)]'
? 'text-[var(--text-muted)] cursor-not-allowed'
: 'text-[var(--text-secondary)] hover:text-[var(--text-primary)] hover:bg-[var(--overlay-subtle)]'
}`}
title="刷新话题列表"
>
<RefreshCw className="h-4 w-4" />
<RefreshCw className="h-3.5 w-3.5" />
</button>
) : (