admin/internet: wider layout

Massimo Melina committed May 15, 2026 at 12:20 UTC f7989c672ff4db556226c7af55394cd0fc13afef
1 file changed +8 -7
admin/src/InternetPage.ts
+8 -7
@@ -53,13 +53,14 @@ export default function InternetPage({ setTitleSide }: PageProps) {
53 setTitleSide(useMemo(() =>
54 h(Alert, { severity: 'info', sx: { display: { xs: 'none', sm: 'inherit' } } }, "This page makes sure your site is working correctly on the Internet"),
55 []))
56 - return h(Flex, { vert: true, gap: '2em', maxWidth: '40em' },
57 - networkBox(),
58 - baseUrlBox(),
59 - httpsBox(),
60 - geoBox(),
61 - ddnsBox(),
62 - )
56 + return h(Flex, { vert: true, gap: '2em' },
57 + h(Box, { sx: { maxWidth: '40em' } }, networkBox()),
58 + h(Flex, { gap: '2em', flexWrap: 'wrap', maxWidth: '84em', '&>*': { maxWidth: '40em', width: { md: '40em' } }, alignItems: 'flex-start', justifyContent: 'space-between' },
59 + baseUrlBox(),
60 + httpsBox(),
61 + geoBox(),
62 + ddnsBox(),
63 + ))
64
65 function stripTags(html: string) {
66 return html.replace(/.+<body>(.+)<\/body>.+/is, (all,x) => x || all) // extract body, if any