style: 调整刷新按钮的样式和尺寸,优化用户界面
This commit is contained in:
parent
eeea7d44d0
commit
7e8b6a832e
@ -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>
|
||||
) : (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user