Commit 1b9ff9db authored by Annabel Gray's avatar Annabel Gray

Merge branch '45934-ide-firefox-scroll-md-preview' into 'master'

Resolve "Web IDE: Previewing Markdown in Firefox doesn’t show a scroll bar"

Closes #45934

See merge request gitlab-org/gitlab-ce!18992
parents 0f0400d1 db0454fe
...@@ -306,8 +306,18 @@ ...@@ -306,8 +306,18 @@
} }
.preview-container { .preview-container {
height: 100%; flex-grow: 1;
overflow: auto; position: relative;
.md-previewer {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: auto;
padding: $gl-padding;
}
.file-container { .file-container {
background-color: $gray-darker; background-color: $gray-darker;
...@@ -347,10 +357,6 @@ ...@@ -347,10 +357,6 @@
color: $diff-image-info-color; color: $diff-image-info-color;
} }
} }
.md-previewer {
padding: $gl-padding;
}
} }
.ide-mode-tabs { .ide-mode-tabs {
......
---
title: Fix unscrollable Markdown preview of WebIDE on Firefox
merge_request:
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment