You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by gi...@apache.org on 2024/06/21 07:41:46 UTC
(incubator-devlake) 01/01: fix: layout overflow error (#7648)
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch release-v1.0-auto-cherry-pick-7648
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit abd9fcf96c7b87b51597f17a45d984b82e7340d9
Author: 青湛 <0x...@gmail.com>
AuthorDate: Fri Jun 21 19:41:22 2024 +1200
fix: layout overflow error (#7648)
---
config-ui/src/index.css | 4 ++++
config-ui/src/routes/layout/layout.tsx | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/config-ui/src/index.css b/config-ui/src/index.css
index e87706c30..c322bc785 100644
--- a/config-ui/src/index.css
+++ b/config-ui/src/index.css
@@ -66,3 +66,7 @@ p {
font-size: 12px;
color: #94959f;
}
+
+#root {
+ height: 100vh;
+}
diff --git a/config-ui/src/routes/layout/layout.tsx b/config-ui/src/routes/layout/layout.tsx
index 958129089..e0e124311 100644
--- a/config-ui/src/routes/layout/layout.tsx
+++ b/config-ui/src/routes/layout/layout.tsx
@@ -84,7 +84,7 @@ export const Layout = () => {
}
return (
- <AntdLayout style={{ height: '100vh' }}>
+ <AntdLayout style={{ height: '100%', overflow: 'hidden' }}>
<Helmet>
<title>
{title ? `${title} - ` : ''}