Levelauswahl: Fortschrittssymbole vergrößern
This commit is contained in:
parent
3b3111b5de
commit
5f9d9643e5
|
|
@ -15,11 +15,11 @@
|
||||||
|
|
||||||
// Bester Versuch → sein Stufen-Symbol (statt Krone).
|
// Bester Versuch → sein Stufen-Symbol (statt Krone).
|
||||||
const SYMBOL: Record<number, { c: typeof Balloon; size: number }> = {
|
const SYMBOL: Record<number, { c: typeof Balloon; size: number }> = {
|
||||||
0: { c: Ground, size: 40 },
|
0: { c: Ground, size: 60 },
|
||||||
1: { c: Balloon, size: 34 },
|
1: { c: Balloon, size: 52 },
|
||||||
2: { c: Cloud, size: 48 },
|
2: { c: Cloud, size: 72 },
|
||||||
3: { c: Moon, size: 38 },
|
3: { c: Moon, size: 56 },
|
||||||
4: { c: Star, size: 36 },
|
4: { c: Star, size: 52 },
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
{#if runs > 0}
|
{#if runs > 0}
|
||||||
{#if bestStage === 2}
|
{#if bestStage === 2}
|
||||||
<!-- Auf der hellen Karte braucht die Wolke Farbe/Kontur, sonst weiß auf weiß. -->
|
<!-- Auf der hellen Karte braucht die Wolke Farbe/Kontur, sonst weiß auf weiß. -->
|
||||||
<Cloud size={50} fill="#cfe2ff" stroke="#7e97c4" />
|
<Cloud size={72} fill="#cfe2ff" stroke="#7e97c4" />
|
||||||
{:else}
|
{:else}
|
||||||
{@const Best = SYMBOL[bestStage].c}
|
{@const Best = SYMBOL[bestStage].c}
|
||||||
<Best size={SYMBOL[bestStage].size} />
|
<Best size={SYMBOL[bestStage].size} />
|
||||||
|
|
@ -62,6 +62,6 @@
|
||||||
.best {
|
.best {
|
||||||
display: grid;
|
display: grid;
|
||||||
place-items: center;
|
place-items: center;
|
||||||
min-height: 48px;
|
min-height: 72px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user