Skip to content

Commit

Permalink
fix(config-ui): adjust the style for layout
Browse files Browse the repository at this point in the history
  • Loading branch information
mintsweet committed Nov 23, 2023
1 parent 153e0ed commit 94301b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config-ui/src/routes/connection/connections.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const Connections = () => {

const [firstPlugins, secondPlugins] = chunk(
plugins.filter((p) => p !== 'webhook'),
6,
7,
);

const handleShowListDialog = (plugin: string) => {
Expand Down Expand Up @@ -145,6 +145,7 @@ export const Connections = () => {
<Modal
open
width={820}
centered
title={
<S.ModalTitle>
<span className="icon">{pluginConfig.icon({ color: colorPrimary })}</span>
Expand All @@ -161,6 +162,7 @@ export const Connections = () => {
<Modal
open
width={820}
centered
title={
<S.ModalTitle>
<span className="icon">{pluginConfig.icon({ color: colorPrimary })}</span>
Expand Down
2 changes: 1 addition & 1 deletion config-ui/src/routes/layout/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const Layout = () => {
</>
))}
</Header>
<Content style={{ margin: '16px 24px' }}>
<Content style={{ margin: '0 auto', maxWidth: 1188 }}>
<Outlet />
</Content>
<Footer style={{ color: '#a1a1a1', textAlign: 'center' }}>
Expand Down

0 comments on commit 94301b7

Please sign in to comment.