Skip to content

Commit 8219b9f

Browse files
committed
Add narrow look to list page subpages
1 parent b9a2bfe commit 8219b9f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,8 @@ try the following in `yoursite/hugo.toml`:
10721072
```toml
10731073
[params.paige]
10741074
style = """
1075-
#paige-page-content > * { margin-left: auto; margin-right: auto; max-width: 40rem; }
1075+
#paige-page-content,
1076+
#paige-page-pages > * { margin-left: auto; margin-right: auto; max-width: 40rem; }
10761077
"""
10771078
```
10781079
@@ -1087,7 +1088,8 @@ try the following in `yoursite/hugo.toml`:
10871088
```toml
10881089
[params.paige]
10891090
style = """
1090-
#paige-page-content > * { margin-left: auto; margin-right: auto; max-width: 40rem; }
1091+
#paige-page-content,
1092+
#paige-page-pages > * { margin-left: auto; margin-right: auto; max-width: 40rem; }
10911093
#paige-page-content > img,
10921094
#paige-page-content > .paige-shortcode-image,
10931095
#paige-page-content > .paige-shortcode-vimeo,

0 commit comments

Comments
 (0)