You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ab...@apache.org on 2024/03/14 07:17:33 UTC

(incubator-devlake) branch main updated: fix: limit layout content width to 1280 (#7169)

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

abeizn 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 feba33275 fix: limit layout content width to 1280 (#7169)
feba33275 is described below

commit feba3327568929ed9a12b291d609f9e39710ca08
Author: 青湛 <0x...@gmail.com>
AuthorDate: Thu Mar 14 20:17:29 2024 +1300

    fix: limit layout content width to 1280 (#7169)
---
 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 && (