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

mintsweet pushed a commit to branch fix-layout-width
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit 693ecbdaa2b1b2a3fd226cbc224bb67a2cbf18e4
Author: mintsweet <[email protected]>
AuthorDate: Thu Mar 14 20:13:26 2024 +1300

    fix: limit layout content width to 1280
---
 config-ui/src/routes/layout/layout.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config-ui/src/routes/layout/layout.tsx 
b/config-ui/src/routes/layout/layout.tsx
index a3464f151..e33a74576 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 }}>
+          <div style={{ padding: 24, margin: '0 auto', width: 1280 }}>
             <Outlet />
           </div>
           {!import.meta.env.DEVLAKE_COPYRIGHT_HIDE && (

Reply via email to