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

pierrejeambrun pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-1-test by this push:
     new 8b99bd0b9bf [v3-1-test] Add one as a fallback grid value for number of 
dagruns (#58680) (#58735)
8b99bd0b9bf is described below

commit 8b99bd0b9bf3ed859c1a81402b1c1c4cf7824859
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Nov 27 15:14:44 2025 +0100

    [v3-1-test] Add one as a fallback grid value for number of dagruns (#58680) 
(#58735)
    
    (cherry picked from commit c3e41f682ac65ae10d33816b4aa7d8636ac9e531)
    
    Co-authored-by: Pierre Jeambrun <[email protected]>
---
 .../src/airflow/ui/src/layouts/Details/PanelButtons.tsx        | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/airflow-core/src/airflow/ui/src/layouts/Details/PanelButtons.tsx 
b/airflow-core/src/airflow/ui/src/layouts/Details/PanelButtons.tsx
index 6a766fb1f0d..1ac9cbaae59 100644
--- a/airflow-core/src/airflow/ui/src/layouts/Details/PanelButtons.tsx
+++ b/airflow-core/src/airflow/ui/src/layouts/Details/PanelButtons.tsx
@@ -80,12 +80,12 @@ const getOptions = (translate: (key: string) => string) =>
 const getWidthBasedConfig = (width: number, enableResponsiveOptions: boolean) 
=> {
   const breakpoints = enableResponsiveOptions
     ? [
-        { limit: 100, min: 1600, options: ["5", "10", "25", "50"] }, // xl: 
extra large screens
-        { limit: 25, min: 1024, options: ["5", "10", "25"] }, // lg: large 
screens
-        { limit: 10, min: 384, options: ["5", "10"] }, // md: medium screens
-        { limit: 5, min: 0, options: ["5"] }, // sm: small screens and below
+        { limit: 100, min: 1600, options: ["1", "5", "10", "25", "50"] }, // 
xl: extra large screens
+        { limit: 25, min: 1024, options: ["1", "5", "10", "25"] }, // lg: 
large screens
+        { limit: 10, min: 384, options: ["1", "5", "10"] }, // md: medium 
screens
+        { limit: 5, min: 0, options: ["1", "5"] }, // sm: small screens and 
below
       ]
-    : [{ limit: 5, min: 0, options: ["5", "10", "25", "50"] }];
+    : [{ limit: 5, min: 0, options: ["1", "5", "10", "25", "50"] }];
 
   const config = breakpoints.find(({ min }) => width >= min) ?? 
breakpoints[breakpoints.length - 1];
 

Reply via email to