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

(incubator-devlake) branch release-v0.21 updated: fix: limit layout content width to 1280 (#7169) (#7170)

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

mintsweet pushed a commit to branch release-v0.21
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/release-v0.21 by this push:
     new d583f705e fix: limit layout content width to 1280 (#7169) (#7170)
d583f705e is described below

commit d583f705e72c973465d4179b3eb366482623527d
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Thu Mar 14 20:23:22 2024 +1300

    fix: limit layout content width to 1280 (#7169) (#7170)
    
    Co-authored-by: 青湛 <0x...@gmail.com>
---
 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 && (