diff --git a/index.html b/index.html index 0447a0b..7d0e8ae 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ rel="stylesheet"> - +
diff --git a/styles.css b/styles.css index 0201beb..51f3fee 100644 --- a/styles.css +++ b/styles.css @@ -27,6 +27,23 @@ margin: 0; } +html { + /* Remove smooth scrolling */ + scroll-behavior: auto; + /* Prevent automatic scroll anchoring */ + overflow-anchor: none; +} + +/* Ensure the page content starts at the top */ +body { + min-height: 100vh; + display: flex; + flex-direction: column; + /* Force initial scroll position */ + position: relative; + top: 0; +} + body { line-height: 1.5; -webkit-font-smoothing: antialiased; @@ -190,3 +207,4 @@ a:hover { position: static; margin-left: 4px; /* Align with heading */ } +