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

Overflow on iPhone5 inside Bootstrap modal #85

Closed
NinoSkopac opened this issue Mar 4, 2017 · 4 comments
Closed

Overflow on iPhone5 inside Bootstrap modal #85

NinoSkopac opened this issue Mar 4, 2017 · 4 comments

Comments

@NinoSkopac
Copy link

NinoSkopac commented Mar 4, 2017

General information

  • SDK/Library version: 1.0 beta4
  • Environment: sandbox
  • Browser and OS: Chrome 56.0.2924.87 (64-bit) on MacOS 10.12.3

Issue description

screen shot 2017-03-04 at 13 43 46

This is how I've fixed it:


/* BRAINTREE FIX on small phones */
@media (max-width: 320px) {
    .braintree-option {
        width: 83vw;
    }
}
@media (min-width: 321px) {
    .braintree-option {
        width: 100%;
    }
}
/* ENDS BRAINTREE FIX */
@lilaconlee
Copy link
Contributor

Thanks for letting us know and providing your solution! We'll keep this in mind as we're tweaking the UI and update this issue if we deploy a fix.

@crookedneighbor
Copy link
Contributor

Why not just have a max-width: 100% ?

@NinoSkopac
Copy link
Author

Why not just have a max-width: 100% ?

Just tried this, it didn't work.
screen shot 2017-03-06 at 18 21 50

crookedneighbor added a commit that referenced this issue Mar 7, 2017
crookedneighbor added a commit that referenced this issue Mar 7, 2017
@crookedneighbor
Copy link
Contributor

Turns out the issue is that we have a min-width property set. Removing that fixes it.

intelliot pushed a commit that referenced this issue Mar 8, 2017
Closes #85

* Set min-width to 200px
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

No branches or pull requests

3 participants