mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-11-16 11:42:19 +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' : ''}
|
||||
/>
|
||||
<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>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -231,9 +231,6 @@ const OverrideItem: React.FC<Props> = (props) => {
|
|||
全局
|
||||
</Chip>
|
||||
)}
|
||||
<Chip size="sm" variant="bordered" className="mr-2">
|
||||
{info.type === 'local' ? '本地' : '远程'}
|
||||
</Chip>
|
||||
<Chip size="sm" variant="bordered">
|
||||
{info.ext === 'yaml' ? 'YAML' : 'JavaScript'}
|
||||
</Chip>
|
||||
|
|
Loading…
Reference in New Issue
Block a user