Skip to content

Commit

Permalink
fix: the styles of reading progress (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
tolking authored Oct 15, 2024
1 parent 3f2e3e1 commit 7a76edf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/VPReadingProgress.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function getProgressStyle() {
<style scoped>
.reading-progress {
position: fixed;
z-index: var(--vp-z-index-footer);
z-index: var(--vp-reading-z-index);
overflow: hidden;
}
.reading-progress .progress {
Expand Down
1 change: 1 addition & 0 deletions src/styles/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
/* the vars of reading progress */
--vp-reading-size: 3px;
--vp-reading-gradient: none;
--vp-reading-z-index: 100;
}

@media (min-width: 768px) {
Expand Down

0 comments on commit 7a76edf

Please sign in to comment.