aboutsummaryrefslogtreecommitdiff
path: root/src/lib/User/BadgeWall/AWC.svelte
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-23 02:14:40 -0800
committerFuwn <[email protected]>2026-01-23 02:14:40 -0800
commit9fdc552fa90dd1372ff36534995b5c057e871e59 (patch)
tree2b7d67eb7249cefb6b94a21cca45b41ec4b723cc /src/lib/User/BadgeWall/AWC.svelte
parentfix(CommandPalette): Suppress intentional a11y warnings for command palette o... (diff)
downloaddue.moe-9fdc552fa90dd1372ff36534995b5c057e871e59.tar.xz
due.moe-9fdc552fa90dd1372ff36534995b5c057e871e59.zip
refactor(layout): Replace empty p elements with reusable Spacer component
Diffstat (limited to 'src/lib/User/BadgeWall/AWC.svelte')
-rw-r--r--src/lib/User/BadgeWall/AWC.svelte5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/User/BadgeWall/AWC.svelte b/src/lib/User/BadgeWall/AWC.svelte
index 49431494..8d340282 100644
--- a/src/lib/User/BadgeWall/AWC.svelte
+++ b/src/lib/User/BadgeWall/AWC.svelte
@@ -1,4 +1,5 @@
<script lang="ts">
+ import Spacer from '$lib/Layout/Spacer.svelte';
import type { AWCBadgesGroup } from '$lib/Data/awc';
import { cdn, thumbnail } from '$lib/Utility/image';
import type { Preferences } from '../../../graphql/$types';
@@ -72,7 +73,7 @@
{group.group}
</summary>
- <p></p>
+ <Spacer />
<div class="badges">
{#each group.badges as badge, index}
@@ -92,7 +93,7 @@
</div>
</details>
- <p></p>
+ <Spacer />
{/each}
{/if}
{/await}