fix styles

This commit is contained in:
karamvir
2023-08-06 14:46:03 -07:00
parent 4467c64edd
commit 0af29e146d
+6 -3
View File
@@ -132,7 +132,7 @@ export const Configuration = <T extends Partial<Record<keyof T, unknown>>>({
return (
<div
key={field}
className="flex justify-between items-center border-b pb-4"
className="flex justify-between items-center border-b pb-4 min-h-[40px]"
>
<div className="capitalize text-md">{fmt_field(field)}</div>
<Input
@@ -150,7 +150,7 @@ export const Configuration = <T extends Partial<Record<keyof T, unknown>>>({
return (
<div
key={field}
className="flex justify-between items-center border-b pb-4"
className="flex justify-between items-center border-b pb-4 min-h-[40px]"
>
<div className="capitalize text-md">{fmt_field(field)}</div>
<Input
@@ -167,7 +167,10 @@ export const Configuration = <T extends Partial<Record<keyof T, unknown>>>({
}
if (typeof val === "boolean") {
return (
<div key={field} className="flex flex-col gap-2 min-h-[40px]">
<div
key={field}
className="flex justify-between items-center border-b pb-4 min-h-[40px]"
>
<div className="capitalize"> {fmt_field(field)} </div>
<Switch
checked={val}