mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-09-15 04:17:50 -05:00
fix: fixed blog post header hiding part of section
blog post no longer scrolls to far when using table of contents to navigate, previously the header would hide part of selected section (when viewport wider than 900px), forcing user to scroll back up
This commit is contained in:
@@ -196,6 +196,17 @@ header {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 901px) {
|
||||
.blog-card h1,
|
||||
.blog-card h2,
|
||||
.blog-card h3,
|
||||
.blog-card h4,
|
||||
.blog-card h5,
|
||||
.blog-card h6 {
|
||||
scroll-margin-top: 110px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
.blog-card {
|
||||
padding: 40px;
|
||||
|
||||
Reference in New Issue
Block a user