Skip to content

Commit

Permalink
fix: scroll restoration issue
Browse files Browse the repository at this point in the history
  • Loading branch information
paglobal committed Apr 4, 2024
1 parent 12f0e88 commit 1777edf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
- Reload when [dev.js](dev.js) changes (maybe).
- Address responsiveness to the smallest of screen sizes (have a look at how [astro-cactus-theme](https://astro-theme-cactus.netlify.app/) handles this).
- Add support for JS/TS in markdown for powering dynamic and interactive experiences.
- Fix issue with scroll restoration on navigate.

## Make it your own

Expand Down
4 changes: 2 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ body.dark {
html,
body {
width: 100%;
height: 100%;
height: max-content;
padding: 0;
margin: 0;
background: var(--primary-stroke);
Expand All @@ -66,7 +66,7 @@ body {
.shell-html {
background: var(--primary-fill);
width: 100vw;
min-height: 100%;
min-height: 100vh;
display: flex;
align-items: center;
flex-direction: column;
Expand Down

0 comments on commit 1777edf

Please sign in to comment.