Skip to content

Commit 99e449d

Browse files
committed
🎨 View on Github link not showing on mobile
1 parent 68d56ed commit 99e449d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

styles.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ h1 {
3333
padding: 0 20px 20px 20px;
3434
}
3535

36+
@media (max-width: 768px) {
37+
#scrollable-content {
38+
/* Add extra padding on mobile for browser UI and safe areas */
39+
padding-bottom: max(80px, env(safe-area-inset-bottom, 80px));
40+
}
41+
}
42+
3643
.view-switcher {
3744
display: flex;
3845
gap: 10px;

0 commit comments

Comments
 (0)