Skip to content

fix(Modal): Account for body padding when scrollbar is present#165

Merged
eddywashere merged 1 commit intomasterfrom
modal-body-offset
Oct 1, 2016
Merged

fix(Modal): Account for body padding when scrollbar is present#165
eddywashere merged 1 commit intomasterfrom
modal-body-offset

Conversation

@eddywashere
Copy link
Copy Markdown
Member

Currently, body and fixed navbars get pushed because of the modal-open class. This pr only fixes the regular body content. Need to look at how bootstrap does this for the fixed content.

Fixes part of #164.

Need to look at adjusting modal dialog as well.

Also I had a hard time getting tests in for this. Going leave those commented out for now.

@eddywashere eddywashere merged commit e159628 into master Oct 1, 2016
@eddywashere eddywashere deleted the modal-body-offset branch October 1, 2016 22:04
@eddywashere
Copy link
Copy Markdown
Member Author

Opened up an issue upstream to track the fixed content shift. twbs/bootstrap#20824

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant