style: update button styles across multiple forms for consistency

This commit is contained in:
Marco Pedone 2026-03-12 12:11:41 +01:00
parent b8d92df023
commit f8aea2446e
7 changed files with 8 additions and 8 deletions

View file

@ -1124,7 +1124,7 @@ export const AnnuncioEditForm = ({ data }: { data: AnnunciWithMedia }) => {
<FormControl> <FormControl>
<Button <Button
className={cn( className={cn(
"h-10.5 w-full pl-3 text-left font-medium", "h-10 w-full bg-card pl-3 text-left font-medium",
!field.value && "text-muted-foreground", !field.value && "text-muted-foreground",
"rounded-lg border border-neutral-300 shadow-xs outline-hidden file:border-0 file:bg-transparent file:font-medium file:text-sm disabled:cursor-not-allowed disabled:opacity-50 dark:focus:border-transparent", "rounded-lg border border-neutral-300 shadow-xs outline-hidden file:border-0 file:bg-transparent file:font-medium file:text-sm disabled:cursor-not-allowed disabled:opacity-50 dark:focus:border-transparent",
)} )}

View file

@ -216,7 +216,7 @@ export const FormEditOrder = ({ prezziario, data, close }: FormProps) => {
<FormControl> <FormControl>
<Button <Button
className={cn( className={cn(
"h-10.5 w-full pl-3 text-left font-medium", "h-10 w-full bg-card pl-3 text-left font-medium",
!field.value && "text-muted-foreground", !field.value && "text-muted-foreground",
"rounded-lg border border-neutral-300 shadow-xs outline-hidden file:border-0 file:bg-transparent file:font-medium file:text-sm disabled:cursor-not-allowed disabled:opacity-50 dark:focus:border-transparent", "rounded-lg border border-neutral-300 shadow-xs outline-hidden file:border-0 file:bg-transparent file:font-medium file:text-sm disabled:cursor-not-allowed disabled:opacity-50 dark:focus:border-transparent",
)} )}

View file

@ -146,7 +146,7 @@ export const FormEditServizio = ({
<FormControl> <FormControl>
<Button <Button
className={cn( className={cn(
"h-10.5 w-full pl-3 text-left font-medium", "h-10 w-full bg-card pl-3 text-left font-medium",
!field.value && "text-muted-foreground", !field.value && "text-muted-foreground",
"rounded-lg border border-neutral-300 shadow-xs outline-hidden file:border-0 file:bg-transparent file:font-medium file:text-sm disabled:cursor-not-allowed disabled:opacity-50 dark:focus:border-transparent", "rounded-lg border border-neutral-300 shadow-xs outline-hidden file:border-0 file:bg-transparent file:font-medium file:text-sm disabled:cursor-not-allowed disabled:opacity-50 dark:focus:border-transparent",
)} )}

View file

@ -192,7 +192,7 @@ export const FormNewOrder = ({
<FormControl> <FormControl>
<Button <Button
className={cn( className={cn(
"h-10.5 w-full pl-3 text-left font-medium", "h-10 w-full bg-card pl-3 text-left font-medium",
!field.value && "text-muted-foreground", !field.value && "text-muted-foreground",
"rounded-lg border border-neutral-300 shadow-xs outline-hidden file:border-0 file:bg-transparent file:font-medium file:text-sm disabled:cursor-not-allowed disabled:opacity-50 dark:focus:border-transparent", "rounded-lg border border-neutral-300 shadow-xs outline-hidden file:border-0 file:bg-transparent file:font-medium file:text-sm disabled:cursor-not-allowed disabled:opacity-50 dark:focus:border-transparent",
)} )}

View file

@ -491,7 +491,7 @@ export const FormNewServizio = ({
<FormControl> <FormControl>
<Button <Button
className={cn( className={cn(
"h-10.5 w-full pl-3 text-left font-medium", "h-10 w-full bg-card pl-3 text-left font-medium",
!field.value && "text-muted-foreground", !field.value && "text-muted-foreground",
"rounded-lg border border-neutral-300 shadow-xs outline-hidden file:border-0 file:bg-transparent file:font-medium file:text-sm disabled:cursor-not-allowed disabled:opacity-50 dark:focus:border-transparent", "rounded-lg border border-neutral-300 shadow-xs outline-hidden file:border-0 file:bg-transparent file:font-medium file:text-sm disabled:cursor-not-allowed disabled:opacity-50 dark:focus:border-transparent",
)} )}

View file

@ -746,7 +746,7 @@ export const FormNewServizioAcquisto = ({
<FormControl> <FormControl>
<Button <Button
className={cn( className={cn(
"h-10.5 w-full pl-3 text-left font-medium", "h-10 w-full bg-card pl-3 text-left font-medium",
!field.value && "text-muted-foreground", !field.value && "text-muted-foreground",
"rounded-lg border border-neutral-300 shadow-xs outline-hidden file:border-0 file:bg-transparent file:font-medium file:text-sm disabled:cursor-not-allowed disabled:opacity-50 dark:focus:border-transparent", "rounded-lg border border-neutral-300 shadow-xs outline-hidden file:border-0 file:bg-transparent file:font-medium file:text-sm disabled:cursor-not-allowed disabled:opacity-50 dark:focus:border-transparent",
)} )}
@ -909,7 +909,7 @@ export const FormNewServizioAcquisto = ({
<FormControl> <FormControl>
<Button <Button
className={cn( className={cn(
"h-10.5 w-full pl-3 text-left font-medium", "h-10 w-full bg-card pl-3 text-left font-medium",
!field.value && "text-muted-foreground", !field.value && "text-muted-foreground",
"rounded-lg border border-neutral-300 shadow-xs outline-hidden file:border-0 file:bg-transparent file:font-medium file:text-sm disabled:cursor-not-allowed disabled:opacity-50 dark:focus:border-transparent", "rounded-lg border border-neutral-300 shadow-xs outline-hidden file:border-0 file:bg-transparent file:font-medium file:text-sm disabled:cursor-not-allowed disabled:opacity-50 dark:focus:border-transparent",
)} )}

View file

@ -188,7 +188,7 @@ export const ProfileFormAnagrafica = ({
<FormControl> <FormControl>
<Button <Button
className={cn( className={cn(
"h-10.5 w-full pl-3 text-left font-medium", "h-10 w-full bg-card pl-3 text-left font-medium",
!field.value && "text-muted-foreground", !field.value && "text-muted-foreground",
"rounded-lg border border-neutral-300 shadow-xs outline-hidden file:border-0 file:bg-transparent file:font-medium file:text-sm disabled:cursor-not-allowed disabled:opacity-50 dark:focus:border-transparent", "rounded-lg border border-neutral-300 shadow-xs outline-hidden file:border-0 file:bg-transparent file:font-medium file:text-sm disabled:cursor-not-allowed disabled:opacity-50 dark:focus:border-transparent",
)} )}