Loading src/components/shared/input.tsx +2 −2 Original line number Diff line number Diff line Loading @@ -5,10 +5,10 @@ export interface InputProps extends HTMLProps<HTMLInputElement> { labelAlignment?: "vertical" | "horizontal"; } export function Input(props: InputProps) { export function Input({labelAlignment, ...props}: InputProps) { return ( <div className={`${props.labelAlignment === "horizontal" ? "flex flex-row items-center" : "flex flex-col"} gap-2 ${props.label ? "h-20" : "h-11"}`} className={`${labelAlignment === "horizontal" ? "flex flex-row items-center" : "flex flex-col"} gap-2 ${props.label ? "h-20" : "h-11"}`} > {props.label && ( <label htmlFor="text-input" className="pl-3 dark:text-neutral-200"> Loading src/components/shared/number.tsx +2 −2 Original line number Diff line number Diff line Loading @@ -7,12 +7,12 @@ export interface NumberInputProps extends HTMLProps<HTMLDivElement> { labelAlignment?: "vertical" | "horizontal"; } export function NumberInput(props: NumberInputProps) { export function NumberInput({labelAlignment, ...props}: NumberInputProps) { return ( <div className={ props.className + ` ${props.labelAlignment === "horizontal" ? "flex flex-row items-center gap-2" : "flex flex-col"} ${props.label ? "h-20" : "h-11"}` ` ${labelAlignment === "horizontal" ? "flex flex-row items-center gap-2" : "flex flex-col"} ${props.label ? "h-20" : "h-11"}` } > {props.label && ( Loading Loading
src/components/shared/input.tsx +2 −2 Original line number Diff line number Diff line Loading @@ -5,10 +5,10 @@ export interface InputProps extends HTMLProps<HTMLInputElement> { labelAlignment?: "vertical" | "horizontal"; } export function Input(props: InputProps) { export function Input({labelAlignment, ...props}: InputProps) { return ( <div className={`${props.labelAlignment === "horizontal" ? "flex flex-row items-center" : "flex flex-col"} gap-2 ${props.label ? "h-20" : "h-11"}`} className={`${labelAlignment === "horizontal" ? "flex flex-row items-center" : "flex flex-col"} gap-2 ${props.label ? "h-20" : "h-11"}`} > {props.label && ( <label htmlFor="text-input" className="pl-3 dark:text-neutral-200"> Loading
src/components/shared/number.tsx +2 −2 Original line number Diff line number Diff line Loading @@ -7,12 +7,12 @@ export interface NumberInputProps extends HTMLProps<HTMLDivElement> { labelAlignment?: "vertical" | "horizontal"; } export function NumberInput(props: NumberInputProps) { export function NumberInput({labelAlignment, ...props}: NumberInputProps) { return ( <div className={ props.className + ` ${props.labelAlignment === "horizontal" ? "flex flex-row items-center gap-2" : "flex flex-col"} ${props.label ? "h-20" : "h-11"}` ` ${labelAlignment === "horizontal" ? "flex flex-row items-center gap-2" : "flex flex-col"} ${props.label ? "h-20" : "h-11"}` } > {props.label && ( Loading