Skip to content

Commit d5513e9

Browse files
fix: update form advanced option layout design
1 parent 0c472ba commit d5513e9

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

apps/OpenSign/src/pages/Form.js

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -799,8 +799,8 @@ const Forms = (props) => {
799799
isReset={isReset}
800800
/>
801801
) : (
802-
<div className="flex flex-col md:flex-row w-full mt-4 md:mt-10 gap-6 md:gap-0">
803-
<div className="card bg-base-100 rounded-box grid flex-grow p-3 md:rounded-r-none">
802+
<div className="flex flex-col md:flex-row w-full mt-4 md:mt-10 gap-3 ">
803+
<div className="card bg-base-100 rounded-box grid flex-grow p-3 ">
804804
{props.title !== "New Template" ? (
805805
<SelectFolder
806806
onSuccess={handleFolder}
@@ -954,7 +954,15 @@ const Forms = (props) => {
954954
)}
955955
</div>
956956
{isAdvanceOpt && (
957-
<div className="card bg-base-100 rounded-box grid p-3 flex-grow md:rounded-l-none ">
957+
<div
958+
style={{
959+
height: props.title === "New Template" ? "220px" : "280px"
960+
}}
961+
className="w-[1px] bg-gray-300 m-auto hidden md:inline-block"
962+
></div>
963+
)}
964+
{isAdvanceOpt && (
965+
<div className="card bg-base-100 rounded-box grid p-3 flex-grow ">
958966
{isEnableSubscription && props.title !== "New Template" && (
959967
<div className="text-xs mt-[10px]">
960968
<span className={isSubscribe ? "" : " text-gray-300"}>

0 commit comments

Comments
 (0)