Skip to content

Commit a017cef

Browse files
authored
fix: improve content column horizontal space on mobile (iOS 16) (#1791)
1 parent a49bcdf commit a017cef

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

scripts/build-docs.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,12 @@ body,
535535
.markdown-body pre > code {
536536
white-space: inherit;
537537
}
538+
/* Use more horizontal space on mobile: remove outer centering margin and tighten padding */
539+
.markdown-body {
540+
max-width: 100%;
541+
margin-inline: 0;
542+
padding-inline: 12px !important;
543+
}
538544
}
539545
540546
/* Responsive images: full-width on mobile, capped on larger screens — no media query needed */

0 commit comments

Comments
 (0)