Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing status icon alignment for various views #36804

Merged
merged 3 commits into from Jan 31, 2024

Conversation

amoghrajesh
Copy link
Contributor

In lines to #36574, there was a slight misalignment even in the status icon. Since Box prop doesn't accept the style argument, fixed it using the translate option.

Before:
image (5)

After:
image (6)


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Jan 16, 2024
@amoghrajesh
Copy link
Contributor Author

@bbovenzi @pierrejeambrun can you help in a review here when you have some time?

@amoghrajesh
Copy link
Contributor Author

@bbovenzi can you take a look at this when you have some time?

@pierrejeambrun
Copy link
Member

pierrejeambrun commented Jan 25, 2024

I don't think that manually translating by 2 px is the way to go, this is hacky. (That might not work on every browser, screen size etc...). Just using the flex property of the Box should be enough

@amoghrajesh
Copy link
Contributor Author

I don't think that manually translating by 2 px is the way to go, this is hacky. (That might not work on every browser, screen size etc...). Just using the flex property of the Box should be enough

Thanks for your review, will try doing using flex

@amoghrajesh
Copy link
Contributor Author

@pierrejeambrun I made the changes using flex of Box, results look the same now:
image

@amoghrajesh
Copy link
Contributor Author

Oops, that was a bad rebase, removed all reviewers who got added due to it

@amoghrajesh
Copy link
Contributor Author

The failure seems related to #37093
Closing and reopening the PR

@potiuk potiuk merged commit 5407318 into apache:main Jan 31, 2024
53 checks passed
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Feb 19, 2024
@ephraimbuddy ephraimbuddy added this to the Airflow 2.8.2 milestone Feb 19, 2024
ephraimbuddy pushed a commit that referenced this pull request Feb 20, 2024
* Fixing status icon alignment

* review from pierre

(cherry picked from commit 5407318)
ephraimbuddy pushed a commit that referenced this pull request Feb 20, 2024
* Fixing status icon alignment

* review from pierre

(cherry picked from commit 5407318)
ephraimbuddy pushed a commit that referenced this pull request Feb 22, 2024
* Fixing status icon alignment

* review from pierre

(cherry picked from commit 5407318)
abhishekbhakat pushed a commit to abhishekbhakat/my_airflow that referenced this pull request Mar 5, 2024
* Fixing status icon alignment

* review from pierre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants