diff --git a/src/routes/(pages)/+page.svelte b/src/routes/(pages)/+page.svelte
index 46cce32..cdd5758 100644
--- a/src/routes/(pages)/+page.svelte
+++ b/src/routes/(pages)/+page.svelte
@@ -201,17 +201,15 @@
{#if tests.filter((test) => test.categories.includes(category.id)).length > 0}
{$i18n.t(category.label)}
{#each filteredTests.filter((test) => test.categories.includes(category.id) && filteredCategories.every( (f) => test.categories.includes(f) )) as test}
-
+
+
+
+ {$i18n.t(test.label)}
+
+
+ {$i18n.t(`tests.${test.id}.description`)}
+
+
{/each}
{/if}
{:else}
@@ -292,21 +290,22 @@
}
.test {
- display: flex;
- gap: 0.5em;
+ display: grid;
+ grid-template-columns: auto 1fr;
+ align-items: center;
+ gap: 0 0.25em;
margin-bottom: 0.25em;
+ text-decoration: none;
+ color: inherit;
+
& .label {
white-space: nowrap;
}
& .description {
- opacity: 0.85;
- }
-
- & a {
- text-decoration: none;
- color: inherit;
+ opacity: 0.8;
+ grid-column-start: 2;
}
&.disabled {