Skip to content

Commit

Permalink
Incrase max width for Kobweb docs
Browse files Browse the repository at this point in the history
... thanks to a user report that the current width feels a little
constrained, especially cutting off code samples.
  • Loading branch information
bitspittle committed Feb 27, 2025
1 parent c9160ab commit ec20bfb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ fun DocsLayout(content: @Composable () -> Unit) {
Modifier
.margin(leftRight = autoLength) // Centers content
.padding(bottom = 1.cssRem)
.maxWidth(80.cssRem),
// The following is a reasonably large width which gives our content about as much room to grow on wide
// monitors as you would get in a GitHub README
.maxWidth(90.cssRem),
horizontalArrangement = Arrangement.Center,
) {
val topOffset = 5.cssRem
Expand Down

0 comments on commit ec20bfb

Please sign in to comment.