Compare commits
2 Commits
59ba9a1c88
...
4091fe840e
| Author | SHA1 | Date | |
|---|---|---|---|
| 4091fe840e | |||
| 762b2a0839 |
@ -5,7 +5,7 @@
|
|||||||
import Button from "./Button.svelte";
|
import Button from "./Button.svelte";
|
||||||
import type { Driver } from "$lib/schema";
|
import type { Driver } from "$lib/schema";
|
||||||
import Input from "./Input.svelte";
|
import Input from "./Input.svelte";
|
||||||
import LazyDropdown, { type DropdownOption } from "./LazyDropdown.svelte";
|
import LazyDropdown, { type LazyDropdownOption } from "./LazyDropdown.svelte";
|
||||||
import { DRIVER_HEADSHOT_HEIGHT, DRIVER_HEADSHOT_WIDTH } from "$lib/config";
|
import { DRIVER_HEADSHOT_HEIGHT, DRIVER_HEADSHOT_WIDTH } from "$lib/config";
|
||||||
|
|
||||||
interface DriverCardProps {
|
interface DriverCardProps {
|
||||||
@ -25,7 +25,7 @@
|
|||||||
team_select_value: string;
|
team_select_value: string;
|
||||||
|
|
||||||
/** The options this component's team select dropdown will display */
|
/** The options this component's team select dropdown will display */
|
||||||
team_select_options: DropdownOption[];
|
team_select_options: LazyDropdownOption[];
|
||||||
|
|
||||||
/** The value this component's active switch will bind to */
|
/** The value this component's active switch will bind to */
|
||||||
active_value: boolean;
|
active_value: boolean;
|
||||||
@ -122,6 +122,7 @@
|
|||||||
background="bg-primary-500"
|
background="bg-primary-500"
|
||||||
active="bg-tertiary-500"
|
active="bg-tertiary-500"
|
||||||
bind:checked={active_value}
|
bind:checked={active_value}
|
||||||
|
disabled={disable_inputs}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{#if driver}
|
{#if driver}
|
||||||
|
|||||||
@ -100,11 +100,10 @@
|
|||||||
justify="justify-center"
|
justify="justify-center"
|
||||||
active="variant-filled-primary"
|
active="variant-filled-primary"
|
||||||
hover="hover:variant-filled-primary"
|
hover="hover:variant-filled-primary"
|
||||||
regionList="gap-2 shadow rounded-container-token p-2"
|
regionList="gap-2 shadow rounded-bl-container-token rounded-br-container-token p-2 pt-3 bg-white fixed left-2 right-2 top-14 z-10"
|
||||||
regionPanel="!mt-0"
|
regionPanel="!mt-14"
|
||||||
rounded="rounded-container-token"
|
rounded="rounded-container-token"
|
||||||
border=""
|
border="border-none"
|
||||||
class="w-full rounded-container-token"
|
|
||||||
padding="p-2"
|
padding="p-2"
|
||||||
>
|
>
|
||||||
<Tab bind:group={current_tab} name="teams" value={0}>Teams</Tab>
|
<Tab bind:group={current_tab} name="teams" value={0}>Teams</Tab>
|
||||||
|
|||||||
Reference in New Issue
Block a user