From bdb9216c1743e927407b262b6d9aef9c643ee4a8 Mon Sep 17 00:00:00 2001 From: rizky Date: Mon, 12 Aug 2024 14:58:29 -0700 Subject: [PATCH] fix keyvalue --- comps/form/field/Field.tsx | 2 +- comps/form/field/type/KeyValue.tsx | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/comps/form/field/Field.tsx b/comps/form/field/Field.tsx index 2f04ed4..11adaac 100755 --- a/comps/form/field/Field.tsx +++ b/comps/form/field/Field.tsx @@ -67,7 +67,7 @@ export const Field: FC = (arg) => { return ( { + e.stopPropagation(); + e.preventDefault(); + }} className={cx( "c-flex-1", css` @@ -141,7 +145,7 @@ const KVRow = ({ "kv-key", css` border-right: 1px solid #ececeb; - width: 30%; + width: 35%; `, idx > 0 && css` @@ -150,7 +154,6 @@ const KVRow = ({ )} >