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

This commit is contained in:
André Luís 2018-05-18 03:51:36 +00:00 committed by Annabel Gray
parent 0f0400d10d
commit db0454fe74
2 changed files with 17 additions and 6 deletions

View file

@ -306,8 +306,18 @@
}
.preview-container {
flex-grow: 1;
position: relative;
.md-previewer {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: auto;
padding: $gl-padding;
}
.file-container {
background-color: $gray-darker;
@ -347,10 +357,6 @@
color: $diff-image-info-color;
}
}
.md-previewer {
padding: $gl-padding;
}
}
.ide-mode-tabs {

View file

@ -0,0 +1,5 @@
---
title: Fix unscrollable Markdown preview of WebIDE on Firefox
merge_request:
author:
type: fixed