Skip to content

Commit

Permalink
perf: expand router layout padding
Browse files Browse the repository at this point in the history
  • Loading branch information
suemor233 committed Oct 28, 2024
1 parent 9535e94 commit 1c86690
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/tipc/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const appRoute = {
const result = await dialog.showMessageBox({
type: 'warning',
message: input.title,
buttons: ['取消', '确定'],
buttons: ['确定','取消'],
})
return !!result.response
}),
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/components/layout/RouterLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const RouterLayout: FC<RouterLayoutProps> = ({ children, FunctionArea })
return
}
return (
<div className="relative flex h-full flex-col space-y-4 pt-6">
<div className="relative flex h-full flex-col space-y-4 pt-7">
<section className="mx-8 flex h-12 items-center justify-between overflow-hidden border-b pb-2.5 dark:border-zinc-600">
<h3 className="align-middle text-2xl font-medium">{currentRoute?.meta.title}</h3>
{FunctionArea}
Expand Down

0 comments on commit 1c86690

Please sign in to comment.