Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiaoheiAh/hugo-theme-pure.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkbyyd24 <melo@gaoyuexiang.cn>2021-01-16 23:54:15 +0300
committerkbyyd24 <melo@gaoyuexiang.cn>2021-01-16 23:54:15 +0300
commitee54f20c83f342ad036a9ce5c0842bcbea89989c (patch)
tree495902c18747e443f932561c9088e18b55b15e8c
parentc97723a02ac3abace65a6433eab381f0acbe2719 (diff)
fix asciidoc post render issue.
When render asciidoc post, there are big blank area after image and code block. This happens becase they are wrapped in a div with class 'content', which has 'min-height: 85vh' and 'margin-bottom: 70px' configs. This commit is removing the two configs.
-rw-r--r--assets/css/style.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/css/style.css b/assets/css/style.css
index 6c6499f..398e932 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -6024,11 +6024,11 @@ body.no-sidebar .sidebar {
margin-left: 10px;
}
-.main .content {
+.main {
min-height: 85vh;
}
-.main.has-sticky .content {
+.main.has-sticky {
margin-bottom: 70px;
}