diff options
author | Nick Gracilla <nick.gracilla@gmail.com> | 2020-02-06 02:37:52 +0300 |
---|---|---|
committer | Nick Gracilla <nick.gracilla@gmail.com> | 2020-02-06 02:37:52 +0300 |
commit | 4524ea8d84fa6527003e7ea8a0d033217de13b62 (patch) | |
tree | 4c252eb07996d5e5aa5a97bd3540d720669e5667 | |
parent | e01032d87804ba7002d20087a94317fd936609e0 (diff) |
fix overlap with relative position instead of width
-rw-r--r-- | layouts/partials/article/progress.html | 2 | ||||
-rw-r--r-- | layouts/post/single.html | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/article/progress.html b/layouts/partials/article/progress.html index 6cc5531..3925b76 100644 --- a/layouts/partials/article/progress.html +++ b/layouts/partials/article/progress.html @@ -1,4 +1,4 @@ -<aside id="progressBar" class="aside-container" style="width:30px;margin-left:0;"> +<aside id="progressBar" class="aside-container"> <div class="aside-align"> <div> <div class="overlap-container"> diff --git a/layouts/post/single.html b/layouts/post/single.html index 69f1f21..dc6b3a8 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -6,14 +6,14 @@ {{ partial "article/progress" . }} - <article id="articleContent" class="post-content"> + <article id="articleContent" class="post-content" style="position:relative;"> {{ .Content }} </article> - + {{ partial "article/next.html" . }} </section> {{ $script := resources.Get "js/progressBar.js" }} <script src="{{ $script.RelPermalink }}"></script> -{{ end }}
\ No newline at end of file +{{ end }} |