pierrejeambrun commented on code in PR #69693:
URL: https://github.com/apache/airflow/pull/69693#discussion_r3557808397


##########
airflow-core/src/airflow/ui/src/layouts/Details/Grid/Grid.tsx:
##########
@@ -232,6 +233,7 @@ export const Grid = ({
           <TaskNames nodes={flatNodes} onRowClick={handleRowClick} 
virtualItems={virtualItems} />
         </Box>
         <Flex flexDirection="row-reverse" flexShrink={0}>
+          {!showGantt && <Box aria-hidden flexShrink={0} minWidth="16px" 
width="16px" />}
           {gridRuns?.map((dr: GridRunsResponse) => (
             <TaskInstancesColumn
               key={dr.run_id}

Review Comment:
   Maybe extract a small extra component in the same file `const 
ScrollbarSpacer = () => <Box aria-hidden flexShrink={0} minWidth="16px" 
width="16px" />;` to avoid duplication. (eslint might not like that you might 
have to ignore the rule)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to