From c13aa69565a1027252a1bd187bd61d803e1a405f Mon Sep 17 00:00:00 2001 From: Kartik Labhshetwar Date: Thu, 9 Oct 2025 13:48:19 +0530 Subject: [PATCH] fix: improve cross button alignment and spacing in FormBuilder Options (#24247) * fix: improve cross button alignment and spacing in FormBuilder Options * fix: revert eslint errors --------- Co-authored-by: Devanshu Sharma --- .../features/form-builder/FormBuilder.tsx | 36 ++++++++++--------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/packages/features/form-builder/FormBuilder.tsx b/packages/features/form-builder/FormBuilder.tsx index 08a7ae7d27..039dfe31e0 100644 --- a/packages/features/form-builder/FormBuilder.tsx +++ b/packages/features/form-builder/FormBuilder.tsx @@ -460,11 +460,11 @@ function Options({
-
    +
      {value?.map((option, index) => (
    • -
      +
      2 && !readOnly ? "pr-8" : ""} /> + {value.length > 2 && !readOnly && ( +
      {showPrice && (
      @@ -505,21 +521,6 @@ function Options({ />
      )} - {value.length > 2 && !readOnly && ( -
    • ))} @@ -528,6 +529,7 @@ function Options({