diff options
| author | 2026-01-14 22:20:41 +0100 | |
|---|---|---|
| committer | 2026-01-14 22:20:41 +0100 | |
| commit | 1b92b559a37166796d431ade745b31c4f73bc2ed (patch) | |
| tree | c3a3df2d4979f0a559a871778fbc0b11de35a28d /ui | |
| parent | 01201e1aca607c8f951ca847083890ad87a6f6c6 (diff) | |
| download | DropOut-1b92b559a37166796d431ade745b31c4f73bc2ed.tar.gz DropOut-1b92b559a37166796d431ade745b31c4f73bc2ed.zip | |
fix(ui): correct styling bugs and code quality issues
- Fix missing h- prefix in VersionsView height class (-40 → h-40)
- Correct typo in SaturnEffect comment (Warn → Warm White)
- Remove double space in App.svelte class attribute
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/src/App.svelte | 2 | ||||
| -rw-r--r-- | ui/src/components/VersionsView.svelte | 2 | ||||
| -rw-r--r-- | ui/src/lib/effects/SaturnEffect.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ui/src/App.svelte b/ui/src/App.svelte index 1c465b1..968f6c5 100644 --- a/ui/src/App.svelte +++ b/ui/src/App.svelte @@ -140,7 +140,7 @@ {#if uiState.showConsole} <!-- Assuming GameConsole handles its own display mode or overlay --> - <div class="fixed inset-0 z-[100] bg-black/80 flex items-center justify-center p-10"> + <div class="fixed inset-0 z-[100] bg-black/80 flex items-center justify-center p-10"> <div class="w-full h-full bg-[#1e1e1e] rounded-xl overflow-hidden border border-white/10 shadow-2xl relative"> <button class="absolute top-4 right-4 text-white hover:text-red-400 z-10" onclick={() => uiState.toggleConsole()}>✕</button> <GameConsole /> diff --git a/ui/src/components/VersionsView.svelte b/ui/src/components/VersionsView.svelte index 8f3a568..99cc296 100644 --- a/ui/src/components/VersionsView.svelte +++ b/ui/src/components/VersionsView.svelte @@ -158,7 +158,7 @@ Fetching manifest... </div> {:else if filteredVersions().length === 0} - <div class="flex flex-col items-center justify-center -40 dark:text-white/30 text-black/30 gap-2"> + <div class="flex flex-col items-center justify-center h-40 dark:text-white/30 text-black/30 gap-2"> <span class="text-2xl">👻</span> <span>No matching versions found</span> </div> diff --git a/ui/src/lib/effects/SaturnEffect.ts b/ui/src/lib/effects/SaturnEffect.ts index 8a1c11f..a370936 100644 --- a/ui/src/lib/effects/SaturnEffect.ts +++ b/ui/src/lib/effects/SaturnEffect.ts @@ -171,7 +171,7 @@ export class SaturnEffect { // Optimization: Planet color vs Ring color if (type === 0) { - // Planet: Warn White + // Planet: Warm White this.ctx.fillStyle = `rgba(255, 240, 220, ${alpha})`; } else { // Ring: Cool White |