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

github.com/leonardofaria/bento.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Faria <leonardofaria@gmail.com>2020-04-29 04:19:00 +0300
committerLeonardo Faria <leonardofaria@gmail.com>2020-04-29 04:19:00 +0300
commita1f1420ad1c48086a7fbe34e25e77105fcc87b31 (patch)
tree6aa749dff4dcd0b70f9f9c03317be4d91d301f9b /layouts/_default
parentd2c9bbd72146236499916160b5ea168bde34fb93 (diff)
Fix progress bar
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/archives.html1
-rw-r--r--layouts/_default/single.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html
index 0b5c579..002adae 100644
--- a/layouts/_default/archives.html
+++ b/layouts/_default/archives.html
@@ -4,6 +4,7 @@
<body class="bg-gradient flex flex-col min-h-screen">
{{- partial "header.html" . -}}
<main class="flex-1 mt-12 max-w-3xl mt-32 mx-auto text-gray-700 w-full">
+ <div id="reading-progress-bar" role="presentation" class="fixed z-10 top-0 left-0 h-1 bg-gray-700"></div>
<article class="article">
<h1 class="artitle__title"><a href="{{.Permalink}}">{{ .Title }}</a></h1>
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 7a9dc05..9b1638b 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,5 +1,5 @@
{{ define "main" }}
-<div id="reading-progress-bar" value="0" class="fixed z-10 top-0 left-0 h-1 bg-gray-700"></div>
+<div id="reading-progress-bar" role="presentation" class="fixed z-10 top-0 left-0 h-1 bg-gray-700"></div>
<article class="article">
<h1 class="artitle__title"><a href="{{.Permalink}}">{{ .Title }}</a></h1>