From 1bca6fdf51fa211ef851f9727a2976831ed413e7 Mon Sep 17 00:00:00 2001 From: Kris Date: Tue, 4 Jun 2019 11:08:21 -0400 Subject: [PATCH] UX: Z-index fix for preview on iOS --- app/assets/stylesheets/mobile/compose.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/mobile/compose.scss b/app/assets/stylesheets/mobile/compose.scss index e73ac05898..6e43a1496e 100644 --- a/app/assets/stylesheets/mobile/compose.scss +++ b/app/assets/stylesheets/mobile/compose.scss @@ -104,7 +104,7 @@ &.show-preview { .d-editor-preview-wrapper { position: fixed; - z-index: z("base") + 1; + z-index: z("fullscreen"); top: 0; bottom: 0; left: 0; @@ -122,7 +122,7 @@ position: fixed; right: 5px; bottom: 5px; - z-index: z("base") + 2; + z-index: z("fullscreen") + 1; } }