This is an automated email from the ASF dual-hosted git repository.
jscheffl pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new a50002859ff Update minimum size for Gantt (#55330)
a50002859ff is described below
commit a50002859ffd48908281f161f2c3864c1c707aef
Author: Guan Ming(Wesley) Chiu <[email protected]>
AuthorDate: Sun Sep 7 03:11:50 2025 +0800
Update minimum size for Gantt (#55330)
---
airflow-core/src/airflow/ui/src/layouts/Details/DetailsLayout.tsx | 2 +-
airflow-core/src/airflow/ui/src/layouts/Details/Gantt/Gantt.tsx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow-core/src/airflow/ui/src/layouts/Details/DetailsLayout.tsx
b/airflow-core/src/airflow/ui/src/layouts/Details/DetailsLayout.tsx
index 4a3714ac83b..d79001fa71f 100644
--- a/airflow-core/src/airflow/ui/src/layouts/Details/DetailsLayout.tsx
+++ b/airflow-core/src/airflow/ui/src/layouts/Details/DetailsLayout.tsx
@@ -115,7 +115,7 @@ export const DetailsLayout = ({ children, error, isLoading,
tabs }: Props) => {
<Panel
defaultSize={dagView === "graph" ? 70 : 20}
id="main-panel"
- minSize={showGantt && dagView === "grid" && Boolean(runId) ? 30 :
6}
+ minSize={showGantt && dagView === "grid" && Boolean(runId) ? 35 :
6}
order={1}
>
<Box height="100%" marginInlineEnd={2} overflowY="auto"
position="relative">
diff --git a/airflow-core/src/airflow/ui/src/layouts/Details/Gantt/Gantt.tsx
b/airflow-core/src/airflow/ui/src/layouts/Details/Gantt/Gantt.tsx
index 900b71c352d..3b6bdceb2da 100644
--- a/airflow-core/src/airflow/ui/src/layouts/Details/Gantt/Gantt.tsx
+++ b/airflow-core/src/airflow/ui/src/layouts/Details/Gantt/Gantt.tsx
@@ -228,7 +228,7 @@ export const Gantt = ({ limit }: Props) => {
}
return (
- <Box height={`${fixedHeight}px`} minW="200px" ml={-2} mt={36} w="100%">
+ <Box height={`${fixedHeight}px`} minW="250px" ml={-2} mt={36} w="100%">
<Bar
data={chartData}
options={chartOptions}