Skip to content

Commit

Permalink
fix: fix preview height
Browse files Browse the repository at this point in the history
  • Loading branch information
qoomon committed Jul 29, 2024
1 parent 6b74545 commit 61f2fcc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- S3 Bucket Explorer Version: 3.0.6 -->
<!-- S3 Bucket Explorer Version: 3.0.7 -->

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

.markdown-body {
min-height: 100vh;
padding: 4.5rem max(calc(100% - max(1012px, min(1012px, 100%))) / 2, 2.5rem);
min-height: calc(100vh - (2 * 4.5rem));
}
</style>

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

<!-- Highlightjs Github theme (light) -->
<link rel="stylesheet"
Expand Down

0 comments on commit 61f2fcc

Please sign in to comment.