fix styles

This commit is contained in:
pompurin404 2024-10-18 23:10:57 +08:00
parent 7078f4a5ab
commit a5f825d5ca
No known key found for this signature in database
2 changed files with 6 additions and 4 deletions

View File

@ -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>
)
}

View File

@ -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>