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

Safari auto-center modal issue #251

Open
nizarayari opened this issue Apr 17, 2018 · 0 comments
Open

Safari auto-center modal issue #251

nizarayari opened this issue Apr 17, 2018 · 0 comments
Labels

Comments

@nizarayari
Copy link

nizarayari commented Apr 17, 2018

On safari I wasn't able to re-center the modal content when I insert dynamically content on the modal.

I had to use this CSS, working in every browser

.ember-modal-wrapper.emd-static.emd-wrapper-target-attachment-center .ember-modal-dialog {
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

That's looks correct for you?

@nizarayari nizarayari changed the title Safari auto-center modal Safari auto-center modal issue Apr 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants