ember-modal-dialog icon indicating copy to clipboard operation
ember-modal-dialog copied to clipboard

Safari auto-center modal issue

Open nizarayari opened this issue 6 years ago • 0 comments

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 avatar Apr 17 '18 15:04 nizarayari