Skip to content

Commit 087a6af

Browse files
committed
Remove sticky positioning from sidebar, add explicit display:block
Safari computes display:none on the aside element. Force display:block and drop position:sticky entirely — sidebar just sits at content top.
1 parent b3c6ce1 commit 087a6af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

assets/css/site.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ section:last-of-type{margin-bottom:0}
124124
.newsletter-page{display:grid;grid-template-columns:1fr 250px;gap:40px}
125125
.newsletter-main{min-width:0}
126126
.newsletter-main h2{margin-top:0}
127-
.newsletter-sidebar{position:-webkit-sticky;position:sticky;top:100px}
127+
.newsletter-sidebar{display:block}
128128
.newsletter-sidebar h3{margin:24px 0 12px;font-size:1rem;color:#666}
129129
.newsletter-sidebar .year-list{list-style:none;margin:0;padding:0}
130130
.newsletter-sidebar .year-list li{margin:0 0 8px}
@@ -133,7 +133,6 @@ section:last-of-type{margin-bottom:0}
133133
@media (max-width:768px){
134134
.newsletter-page{grid-template-columns:1fr;gap:30px}
135135
.newsletter-sidebar-col{order:-1}
136-
.newsletter-sidebar{position:static}
137136
}
138137
.newsletter-issue header h2{margin:0 0 5px;font-size:2rem;font-weight:600}
139138
.newsletter-issue .meta{color:#777;margin:0 0 30px;font-size:.9rem}

0 commit comments

Comments
 (0)