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

Fix: Override FAB styling #11752

Merged
merged 1 commit into from
Oct 23, 2020
Merged

Conversation

ryanahamilton
Copy link
Contributor

FAB is going against Boostrap's Dropdown guidelines by adding a btn class on the anchors within the drop-down menus. This yields some undesirable styling. This PR offers a simple CSS override to improve the aesthetics.

Before After
Image 2020-10-22 at 4 31 32 PM Image 2020-10-22 at 4 30 52 PM

^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, 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 UPDATING.md.

@boring-cyborg boring-cyborg bot added the area:webserver Webserver related Issues label Oct 22, 2020
@mik-laj
Copy link
Member

mik-laj commented Oct 22, 2020

Should we introduce a similar change to FAB?

@ryanahamilton
Copy link
Contributor Author

@mik-laj yes, I was looking into the code there. It would likely just be a change that would negate the need for this one. This can be a band-aid until that one can be adopted in Airflow.

@ryanahamilton
Copy link
Contributor Author

PR'ed the FAB fix as well: dpgaspar/Flask-AppBuilder#1491

@kaxil kaxil merged commit 2df9d1c into apache:master Oct 23, 2020
@kaxil kaxil deleted the fix_fab_menu_styling branch October 23, 2020 13:06
ryanahamilton added a commit to astronomer/airflow that referenced this pull request Oct 27, 2020
ryw pushed a commit that referenced this pull request Oct 27, 2020
michalmisiewicz pushed a commit to michalmisiewicz/airflow that referenced this pull request Oct 30, 2020
michalmisiewicz pushed a commit to michalmisiewicz/airflow that referenced this pull request Oct 30, 2020
szn pushed a commit to szn/airflow that referenced this pull request Nov 1, 2020
szn pushed a commit to szn/airflow that referenced this pull request Nov 1, 2020
@ryanahamilton ryanahamilton added the area:UI Related to UI/UX. For Frontend Developers. label Nov 18, 2020
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants