From 3a66f3ddc34122ef3040c95a32d9b998b5a1fd1e Mon Sep 17 00:00:00 2001 From: Dmitry Levashov Date: Thu, 23 Aug 2018 17:28:01 +0300 Subject: [PATCH] Force Safari layout on dialog inserted into DOM --- addon/styles/ember-dialog/appearance.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addon/styles/ember-dialog/appearance.scss b/addon/styles/ember-dialog/appearance.scss index 26f1362..6c3d613 100644 --- a/addon/styles/ember-dialog/appearance.scss +++ b/addon/styles/ember-dialog/appearance.scss @@ -4,7 +4,8 @@ &.substrate { background-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.1) 0, rgba(0, 0, 0, 0.3) 100%); - + transform: translateZ(0); + top: 0; .dialog-content { min-width: $dialog-min-width; max-width: $dialog-max-width;