fix(ui): 批量修复字号/间距/弹窗/表格 UI 问题(接续)
- 密码修改弹窗: max-w-md→max-w-lg, py-3.5→py-3, text-[10px]→text-xs - 角色选择按钮: flex-wrap + min-w-[100px] 防窄屏换行 - 用户表格: overflow-x-auto + min-w-[700px] 响应式 - 全部 42 处 text-[10px] → text-xs(标签/徽章/说明文字) - PermissionSettingsView 剩余 2 处 text-[10px]→text-xs Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -329,7 +329,7 @@ export const PermissionSettingsView: React.FC = () => {
|
||||
<Key size={18} className="text-indigo-600" />
|
||||
{selectedRole.name}
|
||||
{selectedRole.isSystem && (
|
||||
<span className="text-[10px] font-black text-slate-400 bg-slate-100 px-2 py-0.5 rounded-full uppercase tracking-wider">
|
||||
<span className="text-xs font-black text-slate-400 bg-slate-100 px-2 py-0.5 rounded-full uppercase tracking-wider">
|
||||
系统角色
|
||||
</span>
|
||||
)}
|
||||
@@ -392,7 +392,7 @@ export const PermissionSettingsView: React.FC = () => {
|
||||
{category}
|
||||
</span>
|
||||
<span className={cn(
|
||||
'text-[10px] font-bold px-2 py-0.5 rounded-full',
|
||||
'text-xs font-bold px-2 py-0.5 rounded-full',
|
||||
allChecked
|
||||
? 'bg-indigo-100 text-indigo-600'
|
||||
: someChecked
|
||||
|
||||
Reference in New Issue
Block a user