mirror of
https://github.com/isledecomp/isle.pizza.git
synced 2026-03-01 06:17:38 +00:00
Reserve space for reset button in vehicle editor to prevent layout shift
This commit is contained in:
parent
c0da123d56
commit
7789ed593b
@ -215,10 +215,12 @@
|
||||
<NavButton direction="right" onclick={nextPart} />
|
||||
</div>
|
||||
|
||||
<div class="reset-container">
|
||||
{#if !isDefault && !loading && !error && !partError}
|
||||
<ResetButton onclick={resetColor} />
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.vehicle-editor {
|
||||
@ -306,4 +308,8 @@
|
||||
font-size: 0.9em;
|
||||
color: var(--color-text-light);
|
||||
}
|
||||
|
||||
.reset-container {
|
||||
height: 1.6em;
|
||||
}
|
||||
</style>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user