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(modal): don't use inline styles #2223

Closed
wants to merge 1 commit into from
Closed

fix(modal): don't use inline styles #2223

wants to merge 1 commit into from

Conversation

pkozlowski-opensource
Copy link
Member

Fixes #2085

@pkozlowski-opensource
Copy link
Member Author

Travis CI failure is a flake

@@ -1,5 +1,5 @@
import {Component} from '@angular/core';

@Component({selector: 'ngb-modal-backdrop', template: '', host: {'class': 'modal-backdrop fade show'}})
@Component({selector: 'ngb-modal-backdrop', template: '', host: {'class': 'modal-backdrop show'}})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about removing the fadeclass and leaving show. Take a look at BS styles:

screen shot 2018-03-16 at 16 02 41

Should we remove both?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeh, probably... I was just afraid that people might be using show class for some reason (DOM manipulation). But in this case I should not be removing fade...

I will revert all this for now and only do inline style => d-block in this PR

Copy link
Member

@maxokorokov maxokorokov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants