Skip to content

A platform for community discussion. Free, open, simple.

UX: Z-index fix for preview on iOS

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