mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-26 20:50:30 +08:00
fix styles
This commit is contained in:
parent
7078f4a5ab
commit
a5f825d5ca
@ -231,7 +231,12 @@ const App: React.FC = () => {
|
|||||||
className={resizing ? 'bg-primary' : ''}
|
className={resizing ? 'bg-primary' : ''}
|
||||||
/>
|
/>
|
||||||
<Divider orientation="vertical" />
|
<Divider orientation="vertical" />
|
||||||
<div className="main grow h-full overflow-y-auto">{page}</div>
|
<div
|
||||||
|
style={{ width: `calc(100% - ${siderWidthValue + 1}px)` }}
|
||||||
|
className="main grow h-full overflow-y-auto"
|
||||||
|
>
|
||||||
|
{page}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -231,9 +231,6 @@ const OverrideItem: React.FC<Props> = (props) => {
|
|||||||
全局
|
全局
|
||||||
</Chip>
|
</Chip>
|
||||||
)}
|
)}
|
||||||
<Chip size="sm" variant="bordered" className="mr-2">
|
|
||||||
{info.type === 'local' ? '本地' : '远程'}
|
|
||||||
</Chip>
|
|
||||||
<Chip size="sm" variant="bordered">
|
<Chip size="sm" variant="bordered">
|
||||||
{info.ext === 'yaml' ? 'YAML' : 'JavaScript'}
|
{info.ext === 'yaml' ? 'YAML' : 'JavaScript'}
|
||||||
</Chip>
|
</Chip>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user