feat: 1.统一右侧抽屉关闭按钮布局 2.统一 UI 组件为 Ant Design 移除 radix-ui、floating-ui 组件 3. 修复 ESLint 文件格式错误的问题
This commit is contained in:
@@ -487,12 +487,8 @@ const AdminMonitor = () => {
|
||||
fontSize: '13px',
|
||||
}}
|
||||
>
|
||||
<span style={{ color: 'var(--ui-color-text-1)' }}>
|
||||
{item.type}
|
||||
</span>
|
||||
<span
|
||||
style={{ fontWeight: 600, color: 'var(--ui-color-text-0)' }}
|
||||
>
|
||||
<span style={{ color: 'var(--ui-color-text-1)' }}>{item.type}</span>
|
||||
<span style={{ fontWeight: 600, color: 'var(--ui-color-text-0)' }}>
|
||||
{item.count}
|
||||
</span>
|
||||
</div>
|
||||
@@ -543,9 +539,7 @@ const AdminMonitor = () => {
|
||||
<span
|
||||
style={{
|
||||
color:
|
||||
text > 500
|
||||
? 'var(--ui-color-danger)'
|
||||
: 'var(--ui-color-success)',
|
||||
text > 500 ? 'var(--ui-color-danger)' : 'var(--ui-color-success)',
|
||||
}}
|
||||
>
|
||||
{text}
|
||||
|
||||
Reference in New Issue
Block a user