From 62756fcf208c07b8eb5ed3f5895c7176af338833 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Wed, 5 Jun 2024 23:07:37 -0700 Subject: [PATCH] Fix the narrow look CSS --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2f2bb6e9..b592e57b 100644 --- a/README.md +++ b/README.md @@ -1051,12 +1051,12 @@ try the following in `yoursite/layouts/partials/paige/style-first.css`: By default, the content expands to fill the whole window. This can result in very long lines, depending on the window width. -To use [the recommended line length of 66 characters](https://en.wikipedia.org/wiki/Line_length#Printed_text), +To use [the recommended line length of 66 characters](https://en.wikipedia.org/wiki/Line_length#Printed_text) (40rem), try the following in `yoursite/hugo.toml`: ```toml [params.paige] -style = "#paige-content { width: 66ch; }" +style = "#paige-content > * { margin-left: auto; margin-right: auto; max-width: 40rem; }" ``` ### Menu navigation only