缩小API测速页面字体,与Dashboard风格统一
This commit is contained in:
parent
ac1120fc33
commit
001ed4c17f
|
|
@ -314,7 +314,7 @@ const ApiTester = () => {
|
|||
{/* 页面标题区 */}
|
||||
<div className='flex flex-wrap items-end justify-between gap-4'>
|
||||
<div>
|
||||
<h1 className='text-3xl font-bold tracking-tight text-slate-900 md:text-4xl dark:text-white'>
|
||||
<h1 className='text-xl font-bold tracking-tight text-slate-900 md:text-2xl dark:text-white'>
|
||||
API 快速测试
|
||||
</h1>
|
||||
<p className='mt-2 text-xs text-slate-500 dark:text-white/50'>
|
||||
|
|
@ -354,7 +354,7 @@ const ApiTester = () => {
|
|||
{showKey ? <EyeOff size={14} /> : <Eye size={14} />}
|
||||
</button>
|
||||
</div>
|
||||
<div className='mt-2 text-xs text-slate-400 dark:text-white/40'>
|
||||
<div className='mt-2 text-[11px] text-slate-400 dark:text-white/40'>
|
||||
{user?.token ? '已自动填充当前登录用户的 Token' : '请填写你的 API Key'}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -419,7 +419,7 @@ const ApiTester = () => {
|
|||
</button>
|
||||
</div>
|
||||
{customScenes.length === 0 ? (
|
||||
<div className='text-xs text-slate-400 dark:text-white/40'>
|
||||
<div className='text-[11px] text-slate-400 dark:text-white/40'>
|
||||
调整完地址后,点右上「保存当前」即可收藏到本地
|
||||
</div>
|
||||
) : (
|
||||
|
|
@ -480,7 +480,7 @@ const ApiTester = () => {
|
|||
</div>
|
||||
)}
|
||||
|
||||
<div className='mt-3 flex items-center gap-1.5 truncate font-mono text-xs text-slate-400 dark:text-white/40'>
|
||||
<div className='mt-3 flex items-center gap-1.5 truncate font-mono text-[11px] text-slate-400 dark:text-white/40'>
|
||||
<span className='shrink-0'>实际请求:</span>
|
||||
<span className='truncate'>{finalEndpoint}</span>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue