UX: Z-index fix for preview on iOS

UX: Z-index fix for preview on iOS

diff --git a/app/assets/stylesheets/mobile/compose.scss b/app/assets/stylesheets/mobile/compose.scss
index e73ac05..6e43a14 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;
     }
   }

GitHub sha: 1bca6fdf

1 Like

This commit has been mentioned on Discourse Meta. There might be relevant details there: