mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-03-01 16:20:25 +00:00
fix(webui): properly center plus icon in add button row (#1642)
Add `flex items-center justify-center` to the plus icon wrapper in `AddButton` so the icon is vertically and horizontally centered. This improves visual alignment and keeps the “新建网络配置” button content consistent.
This commit is contained in:
@@ -54,7 +54,7 @@ const AddButton: React.FC<AddButtonProps> = (props) => {
|
|||||||
textValue='title'
|
textValue='title'
|
||||||
>
|
>
|
||||||
<div className='flex items-center gap-2 justify-center'>
|
<div className='flex items-center gap-2 justify-center'>
|
||||||
<div className='w-5 h-5 -ml-3'>
|
<div className='w-5 h-5 -ml-3 flex items-center justify-center'>
|
||||||
<PlusIcon />
|
<PlusIcon />
|
||||||
</div>
|
</div>
|
||||||
<div className='text-primary-400'>新建网络配置</div>
|
<div className='text-primary-400'>新建网络配置</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user