Skip to content

Commit bc6e726

Browse files
authored
Merge pull request #53 from mitszo/make-vertical-scroll-bar-appeared
make a vertical scroll bar appeared for long articles.
2 parents 151adf7 + a87dafb commit bc6e726

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

main.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,11 @@ const templateBodyContent = `
6969
<title>{{.Name}}</title>
7070
<link href="/assets/gfm/gfm.css" media="all" rel="stylesheet" type="text/css" />
7171
</head>
72-
<body class="markdown-body">
73-
{{.Body}}</body>
72+
<body>
73+
<main class="markdown-body">
74+
{{.Body}}
75+
</main>
76+
</body>
7477
</html>
7578
`
7679

0 commit comments

Comments
 (0)