Skip to content

Commit

Permalink
Fixing status icon alignment for various views (#36804)
Browse files Browse the repository at this point in the history
* Fixing status icon alignment

* review from pierre

(cherry picked from commit 5407318)
  • Loading branch information
amoghrajesh authored and ephraimbuddy committed Feb 20, 2024
1 parent 97b3997 commit 015f52b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions airflow/www/static/js/dag/StatusBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ export const SimpleStatus = ({ state, ...rest }: SimpleStatusProps) => (
background={state && stateColors[state] ? stateColors[state] : "white"}
borderRadius="2px"
borderWidth={state ? 0 : 1}
display="flex"
flexDirection="column"
justifyContent="center"
alignItems="center"
style={{ marginTop: "auto", marginBottom: "auto" }}
{...rest}
/>
);
Expand Down

0 comments on commit 015f52b

Please sign in to comment.