fix(webui): four-column appearance grid on wide screens

This commit is contained in:
sam committed 2026-09-21 00:46:28 +10:00
1 parent fffa6bc528
commit 538c04fbc4
2 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -37,11 +37,11 @@ function chooseMotion(value: unknown): void {
</script>
<template>
<div class="max-w-4xl">
<div>
<PageHeader title="Appearance" subtitle="How this dashboard looks and responds in this browser." />
<ConfigCard title="Dashboard preferences" description="Saved only in this browser and applied immediately.">
<div class="grid gap-8 min-[700px]:grid-cols-2">
<div class="grid gap-8 min-[700px]:grid-cols-2 min-[1100px]:grid-cols-4">
<section class="flex min-w-0 flex-col items-start">
<div>
<h2 id="appearance-theme" class="text-sm font-medium">Theme</h2>
+1
View File
@@ -46,6 +46,7 @@ test("appearance preferences are owned by Pinia and stay close to their labels",
assert.match(page, /useAppearanceStore/);
assert.match(tooltip, /useAppearanceStore/);
assert.match(page, /min-\[700px\]:grid-cols-2/);
assert.match(page, /min-\[1100px\]:grid-cols-4/);
});
test("system theme follows the browser preference and remains the stored choice", () => {