jscheffl commented on code in PR #47180:
URL: https://github.com/apache/airflow/pull/47180#discussion_r1977505033


##########
airflow/ui/src/components/ParseDag.tsx:
##########
@@ -30,10 +31,19 @@ const ParseDag = ({ dagId, fileToken }: Props) => {
   const { isPending, mutate } = useDagParsing({ dagId });
 
   return (
-    <Button loading={isPending} onClick={() => mutate({ fileToken })} 
variant="outline">
-      <AiOutlineFileSync height={5} width={5} />
-      Reparse Dag
-    </Button>
+    <Box>

Review Comment:
   I attempted to remove the box but then... the buttons were presented 
horizontal:
   
![image](https://github.com/user-attachments/assets/5466d061-2245-4a58-ad0f-2adbaeaaea84)
   
   I looked at the docs in https://www.chakra-ui.com/docs/components/menu but 
somehow our modelling of menu is different than the standard - don't know if 
this is a "feature" (=by intend) or a "bug".



-- 
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