From 4ffb9ad9e94d3a44fec3cb55c6e4865ee9cbb527 Mon Sep 17 00:00:00 2001
From: weru <onewesh@gmail.com>
Date: Fri, 29 May 2020 08:16:16 +0000
Subject: [PATCH] edit helpers
---
assets/js/index.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/assets/js/index.js b/assets/js/index.js
index 2f9c319..9cd3a55 100644
--- a/assets/js/index.js
+++ b/assets/js/index.js
@@ -106,10 +106,10 @@
(function calcNavHeight(){
const nav = elem('.nav_header');
- const navHeight = nav.offsetHeight;
- const docContent = elem('main');
- docContent.style.paddingTop = `${navHeight + 20}px`;
- return navHeight + 20;
+ const navHeight = nav.offsetHeight + 25;
+ const docContent = elem('main');
+ docContent.style.paddingTop = `${navHeight}px`;
+ return navHeight;
})();
(function markInlineCodeTags(){
--
Gitblit v1.10.0