Compare commits

..

2 Commits

2 changed files with 10 additions and 4 deletions

View File

@ -112,7 +112,7 @@
input_variable={pxx_select_value} input_variable={pxx_select_value}
action={register_pxx_preview_handler} action={register_pxx_preview_handler}
options={driver_select_options} options={driver_select_options}
labelwidth="120px" labelwidth="60px"
disabled={disable_inputs} disabled={disable_inputs}
> >
P{currentrace?.pxx ?? "XX"} P{currentrace?.pxx ?? "XX"}
@ -123,7 +123,7 @@
name="dnf" name="dnf"
input_variable={dnf_select_value} input_variable={dnf_select_value}
options={driver_select_options} options={driver_select_options}
labelwidth="120px" labelwidth="60px"
disabled={disable_inputs} disabled={disable_inputs}
> >
DNF DNF

View File

@ -384,10 +384,16 @@
{#if pick} {#if pick}
<div class="card mt-1 h-20 w-full bg-surface-300 p-1 lg:mt-2 lg:p-2"> <div class="card mt-1 h-20 w-full bg-surface-300 p-1 lg:mt-2 lg:p-2">
<div class="mx-auto flex h-full w-fit flex-col justify-evenly"> <div class="mx-auto flex h-full w-fit flex-col justify-evenly">
<span class="p-1 text-sm rounded-container-token" style="background: {pxxcolor};"> <span
class="p-1 text-center text-sm rounded-container-token"
style="background: {pxxcolor};"
>
{getdriver(pick?.pxx ?? "")?.code} {getdriver(pick?.pxx ?? "")?.code}
</span> </span>
<span class="p-1 text-sm rounded-container-token" style="background: {dnfcolor};"> <span
class="p-1 text-center text-sm rounded-container-token"
style="background: {dnfcolor};"
>
{getdriver(pick?.dnf ?? "")?.code} {getdriver(pick?.dnf ?? "")?.code}
</span> </span>
</div> </div>