File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ const CSS_FILES = [
50
50
* @param {String } opts.theme
51
51
* @param {Boolean } [opts.lineNumber] Should show line number
52
52
* @param {Boolean } [opts.scrollPastEnd]
53
- * @param {Boolean } [opts.optimizeOverflowScroll] Should tweak body style to optimize overflow scrollbar display
54
53
* @param {Boolean } [opts.allowCustomCSS] Should add custom css
55
54
* @param {String } [opts.customCSS] Will be added to bottom, only if `opts.allowCustomCSS` is truthy
56
55
* @returns {String }
@@ -62,7 +61,6 @@ function buildStyle (opts) {
62
61
codeBlockFontFamily,
63
62
lineNumber,
64
63
scrollPastEnd,
65
- optimizeOverflowScroll,
66
64
theme,
67
65
allowCustomCSS,
68
66
customCSS
@@ -107,7 +105,6 @@ body {
107
105
box-sizing: border-box;
108
106
`
109
107
: '' }
110
- ${ optimizeOverflowScroll ? 'height: 100%;' : '' }
111
108
}
112
109
@media print {
113
110
body {
@@ -687,7 +684,6 @@ export default class MarkdownPreview extends React.Component {
687
684
codeBlockFontFamily,
688
685
lineNumber,
689
686
scrollPastEnd,
690
- optimizeOverflowScroll : true ,
691
687
theme,
692
688
allowCustomCSS,
693
689
customCSS
You can’t perform that action at this time.
0 commit comments