This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new f2f3c282b fix: adjust the layout style (#7332)
f2f3c282b is described below

commit f2f3c282bc01649998a17bc08f17e4f3d23c9677
Author: 青湛 <[email protected]>
AuthorDate: Tue Apr 16 12:06:46 2024 +0800

    fix: adjust the layout style (#7332)
---
 config-ui/src/routes/layout/layout.tsx | 2 +-
 config-ui/src/routes/onboard/index.tsx | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config-ui/src/routes/layout/layout.tsx 
b/config-ui/src/routes/layout/layout.tsx
index 0e1f1647e..bf54a57e9 100644
--- a/config-ui/src/routes/layout/layout.tsx
+++ b/config-ui/src/routes/layout/layout.tsx
@@ -163,7 +163,7 @@ export const Layout = () => {
             ))}
         </Header>
         <Content style={{ overflowY: 'auto' }}>
-          <div style={{ padding: 24, margin: '0 auto', width: 1280 }}>
+          <div style={{ padding: 24, margin: '0 auto', maxWidth: 1280 }}>
             <OnboardCard style={{ marginBottom: 32 }} />
             <Outlet />
           </div>
diff --git a/config-ui/src/routes/onboard/index.tsx 
b/config-ui/src/routes/onboard/index.tsx
index 4f76a515f..83a5a5b9d 100644
--- a/config-ui/src/routes/onboard/index.tsx
+++ b/config-ui/src/routes/onboard/index.tsx
@@ -108,7 +108,7 @@ export const Onboard = ({ logo, title }: Props) => {
         setPlugin: setPlugin,
       }}
     >
-      <Layout style={{ height: '100vh' }}>
+      <Layout style={{ minHeight: '100vh' }}>
         <S.Inner>
           {step === 0 ? (
             <Step0 logo={logo} title={title} />

Reply via email to