zenno/mspeed: fix mobile layout

This commit is contained in:
2026-05-22 19:41:10 -04:00
parent 2a07f193ec
commit 2e31560d6c

View File

@@ -131,12 +131,14 @@
<SpeedDur speed={boost} dur={skillDuration(dur, raceLen)} accel={accel[phase]} decel={decel[phase]}>{name}</SpeedDur> <SpeedDur speed={boost} dur={skillDuration(dur, raceLen)} accel={accel[phase]} decel={decel[phase]}>{name}</SpeedDur>
{/each} {/each}
</div> </div>
<div class="mx-auto flex h-60 flex-col place-content-center py-4 md:h-96 md:flex-row"> <div class="mx-auto py-4 h-60 md:h-96 md:w-3xl">
<StatChart class="flex-1" stat={Stat.Guts} y={ssY} yLabel="Lengths Gained" range={[0, 1.5, 2.5]} xRule={gutsStat} {yRule} /> <StatChart class="flex-1" stat={Stat.Guts} y={ssY} yLabel="Lengths Gained" range={[0, 1.5, 2.5]} xRule={gutsStat} {yRule} />
</div>
<div class="mx-auto mt-4 md:mt-0 py-4 h-60 md:h-96 md:w-3xl">
<StatChart class="flex-1" stat={Stat.Power} y={lcY} yLabel="Lengths Gained" range={[0, 1.5, 2.5]} xRule={powerStat} {yRule} /> <StatChart class="flex-1" stat={Stat.Power} y={lcY} yLabel="Lengths Gained" range={[0, 1.5, 2.5]} xRule={powerStat} {yRule} />
</div> </div>
<div class="mx-auto mt-8 w-full max-w-4xl"> <div class="mx-auto mt-12 md:mt-8 w-full max-w-4xl border-t">
<ul class="list-disc"> <ul class="list-disc ml-4">
<li>All lengths gained include acceleration at the beginning of each speed boost and deceleration after its end.</li> <li>All lengths gained include acceleration at the beginning of each speed boost and deceleration after its end.</li>
<li>Each effect is assumed to be isolated and executed on level ground.</li> <li>Each effect is assumed to be isolated and executed on level ground.</li>
<li> <li>
@@ -147,7 +149,7 @@
<li> <li>
Lane combo is idealized in the sense of assuming second lane change speed skill executes immediately after Dodging Danger Lane combo is idealized in the sense of assuming second lane change speed skill executes immediately after Dodging Danger
completes and the horse is never blocked. completes and the horse is never blocked.
<ul class="ml-4 list-[revert]"> <ul class="ml-8 list-[revert]">
<li> <li>
The move lane modifier is capped to 6 seconds, which is the approximate observed time to move from the Dodging Danger The move lane modifier is capped to 6 seconds, which is the approximate observed time to move from the Dodging Danger
fixed lane back to the rail under the effect of Prudent Positioning. fixed lane back to the rail under the effect of Prudent Positioning.