Skip to content
This repository was archived by the owner on Jul 2, 2022. It is now read-only.

Commit 9c313cf

Browse files
authored
Merge pull request #664 from bibstha/fix-scrolling-for-markdown-files
Fixes scroll when viewing Markdown files
2 parents bdf84cf + bae6adf commit 9c313cf

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

CodeHub/WebViews/MarkdownWebView.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ public override void Execute()
5252
#line hidden
5353
WriteLiteral(@"px;
5454
line-height: 1.7;
55-
overflow: hidden;
5655
word-wrap: break-word;
5756
}
5857
h1, h2, h3, h4, h5, h6 {
@@ -141,7 +140,7 @@ table th {
141140
");
142141

143142

144-
#line 105 "MarkdownWebView.cshtml"
143+
#line 104 "MarkdownWebView.cshtml"
145144
if (Model.ContinuousResize) {
146145

147146

@@ -155,7 +154,7 @@ table th {
155154
");
156155

157156

158-
#line 111 "MarkdownWebView.cshtml"
157+
#line 110 "MarkdownWebView.cshtml"
159158
}
160159

161160

@@ -164,7 +163,7 @@ table th {
164163
WriteLiteral("<title>Readme</title></head>\n<body>");
165164

166165

167-
#line 113 "MarkdownWebView.cshtml"
166+
#line 112 "MarkdownWebView.cshtml"
168167
WriteLiteral(Model.Body);
169168

170169
#line default

CodeHub/WebViews/MarkdownWebView.cshtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ body {
1616
line-height: 1.42;
1717
font-size: @(Model.FontSize)px;
1818
line-height: 1.7;
19-
overflow: hidden;
2019
word-wrap: break-word;
2120
}
2221
h1, h2, h3, h4, h5, h6 {

0 commit comments

Comments
 (0)