fix reduce desktop content width

Commit
90bc373c14fb4b93d047370572e05ca1da010ca6
Author
Marius Peter <dev@marius-peter.com>
Author date
Committer
Marius Peter <dev@marius-peter.com>
Committer date
Changed files
lib/web/assets/hito.css
index e8473c3e..11ff24da 100644..100644
@@ -208,7 +208,7 @@
208 208 a shorter line length. Mobile keeps the full page-surface width below. */
209 209 @media (min-width: 42.0625rem) {
210 210 .page-surface {
211 Removed: max-width: 60rem;
211 Added: max-width: 52rem;
212 212 margin-inline: auto;
213 213 }
214 214 }
test/test_web.ml
index 23961185..1d3004dd 100644..100644
@@ -135,7 +135,7 @@
135 135 Alcotest.(check bool)
136 136 "desktop page surface cap" true
137 137 (contains ~substring:"@media (min-width: 42.0625rem)" stylesheet
138 Removed: && contains ~substring:"max-width: 60rem" stylesheet
138 Added: && contains ~substring:"max-width: 52rem" stylesheet
139 139 && contains ~substring:"margin-inline: auto" stylesheet) );
140 140 ] );
141 141 ( "web.auth",