Skip to content

Commit 61f2fcc

Browse files
committed
fix: fix preview height
1 parent 6b74545 commit 61f2fcc

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

index.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- S3 Bucket Explorer Version: 3.0.6 -->
1+
<!-- S3 Bucket Explorer Version: 3.0.7 -->
22

33
<!DOCTYPE html>
44
<html lang="en" style="overflow-y: auto;">
@@ -469,8 +469,8 @@ <h2 class="subtitle" v-html="config.subtitleHTML"></h2>
469469
}
470470

471471
.markdown-body {
472-
min-height: 100vh;
473472
padding: 4.5rem max(calc(100% - max(1012px, min(1012px, 100%))) / 2, 2.5rem);
473+
min-height: calc(100vh - (2 * 4.5rem));
474474
}
475475
</style>
476476

@@ -479,6 +479,11 @@ <h2 class="subtitle" v-html="config.subtitleHTML"></h2>
479479
<!-- GitHub markdown styles (light) -->
480480
<link rel="stylesheet"
481481
href="https://cdn.jsdelivr.net/npm/github-markdown-css@5/github-markdown-light.min.css"/>
482+
<style>
483+
.markdown-body {
484+
background: whitesmoke;
485+
}
486+
</style>
482487

483488
<!-- Highlightjs Github theme (light) -->
484489
<link rel="stylesheet"

0 commit comments

Comments
 (0)