mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-28 05:30:29 +08:00
adjust style
This commit is contained in:
parent
4942227257
commit
4bf66046ee
@ -106,7 +106,7 @@ const App: React.FC = () => {
|
|||||||
return (
|
return (
|
||||||
<div className="w-full h-[100vh] flex">
|
<div className="w-full h-[100vh] flex">
|
||||||
<div className="side w-[250px] h-full overflow-y-auto no-scrollbar">
|
<div className="side w-[250px] h-full overflow-y-auto no-scrollbar">
|
||||||
<div className="sticky top-0 z-40 backdrop-blur bg-background/40 h-[48px]">
|
<div className="sticky top-0 z-40 backdrop-blur bg-background/40 h-[49px]">
|
||||||
<div className="flex justify-between p-2">
|
<div className="flex justify-between p-2">
|
||||||
<h3 className="text-lg font-bold leading-[32px]">Mihomo Party</h3>
|
<h3 className="text-lg font-bold leading-[32px]">Mihomo Party</h3>
|
||||||
<UpdaterButton />
|
<UpdaterButton />
|
||||||
@ -121,6 +121,7 @@ const App: React.FC = () => {
|
|||||||
startContent={<IoSettings className="text-[20px]" />}
|
startContent={<IoSettings className="text-[20px]" />}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
{/* <Divider /> */}
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-2 mx-2">
|
<div className="mt-2 mx-2">
|
||||||
<OutboundModeSwitcher />
|
<OutboundModeSwitcher />
|
||||||
|
|||||||
@ -24,6 +24,9 @@ const OutboundModeSwitcher: React.FC = () => {
|
|||||||
fullWidth
|
fullWidth
|
||||||
color="primary"
|
color="primary"
|
||||||
selectedKey={mode}
|
selectedKey={mode}
|
||||||
|
classNames={{
|
||||||
|
tabList: 'bg-content1 shadow-medium'
|
||||||
|
}}
|
||||||
onSelectionChange={(key: Key) => onChangeMode(key as OutboundMode)}
|
onSelectionChange={(key: Key) => onChangeMode(key as OutboundMode)}
|
||||||
>
|
>
|
||||||
<Tab className={`${mode === 'rule' ? 'font-bold' : ''}`} key="rule" title="规则" />
|
<Tab className={`${mode === 'rule' ? 'font-bold' : ''}`} key="rule" title="规则" />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user