diff options
| author | Fuwn <[email protected]> | 2026-01-23 02:14:40 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-23 02:14:40 -0800 |
| commit | 9fdc552fa90dd1372ff36534995b5c057e871e59 (patch) | |
| tree | 2b7d67eb7249cefb6b94a21cca45b41ec4b723cc /src/lib/User/BadgeWall/AWC.svelte | |
| parent | fix(CommandPalette): Suppress intentional a11y warnings for command palette o... (diff) | |
| download | due.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.svelte | 5 |
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} |