mirror of
https://github.com/moghtech/komodo.git
synced 2026-09-13 16:01:21 +00:00
fix styles
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user