Skip to content

Commit 820a560

Browse files
committed
fix: remove relative position of combobox
1 parent 338edee commit 820a560

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

src/components/modals/stakeholder/single-stake-holder-form.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export const SingleStakeholderForm = () => {
123123
render={({ field }) => (
124124
<FormItem>
125125
<FormLabel>Type</FormLabel>
126-
<div className="relative right-1">
126+
<div>
127127
<LinearCombobox
128128
options={stakeHolderTypeOpts}
129129
onValueChange={(option) => {
@@ -143,7 +143,7 @@ export const SingleStakeholderForm = () => {
143143
render={({ field }) => (
144144
<FormItem>
145145
<FormLabel>Group</FormLabel>
146-
<div className="relative right-1">
146+
<div>
147147
<LinearCombobox
148148
options={groupTypeOpts}
149149
onValueChange={(option) => field.onChange(option.value)}

src/components/onboarding/company-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ export const CompanyForm = ({ type, data }: CompanyFormProps) => {
423423
<FormLabel>Incorporation type</FormLabel>
424424

425425
{/* Used Linear-combobox instead of Select Component */}
426-
<div className="relative right-1">
426+
<div>
427427
<LinearCombobox
428428
options={incorpTypeOpts}
429429
onValueChange={(option) => {

src/components/safe/steps/investor-details/form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export function InvestorDetailsForm({ stakeholders }: InvestorsDetailsProps) {
148148
render={({ field }) => (
149149
<FormItem>
150150
<FormLabel>Stakeholder</FormLabel>
151-
<div className="relative right-1">
151+
<div>
152152
<LinearCombobox
153153
options={stakeHolderOpts}
154154
onValueChange={(option) => field.onChange(option.value)}

src/components/safe/steps/safe-template.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ function PredefinedTemplateSelect() {
230230
render={({ field }) => (
231231
<FormItem>
232232
<FormLabel>Safe template</FormLabel>
233-
<div className="relative right-1">
233+
<div>
234234
<LinearCombobox
235235
options={templateTypes}
236236
onValueChange={(option) => field.onChange(option.value)}

src/components/securities/options/steps/general-details.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export const GeneralDetails = () => {
8585
render={({ field }) => (
8686
<FormItem>
8787
<FormLabel>Grant type</FormLabel>
88-
<div className="relative right-1">
88+
<div>
8989
<LinearCombobox
9090
options={typesOpts}
9191
onValueChange={(option) => field.onChange(option.value)}
@@ -129,7 +129,7 @@ export const GeneralDetails = () => {
129129
render={({ field }) => (
130130
<FormItem>
131131
<FormLabel>Status</FormLabel>
132-
<div className="relative right-1">
132+
<div>
133133
<LinearCombobox
134134
options={STATUSES}
135135
onValueChange={(option) => field.onChange(option.value)}

src/components/securities/options/steps/vesting-details.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export const VestingDetails = (props: VestingDetailsProps) => {
8989
render={({ field }) => (
9090
<FormItem>
9191
<FormLabel>Vesting schedule</FormLabel>
92-
<div className="relative right-1">
92+
<div>
9393
<LinearCombobox
9494
options={vestingSchedileOpts}
9595
onValueChange={(option) => field.onChange(option.value)}
@@ -107,7 +107,7 @@ export const VestingDetails = (props: VestingDetailsProps) => {
107107
render={({ field }) => (
108108
<FormItem>
109109
<FormLabel>Equity plan</FormLabel>
110-
<div className="relative right-1">
110+
<div>
111111
<LinearCombobox
112112
options={equityPlansOpts}
113113
onValueChange={(option) => field.onChange(option.value)}
@@ -159,7 +159,7 @@ export const VestingDetails = (props: VestingDetailsProps) => {
159159
render={({ field }) => (
160160
<FormItem>
161161
<FormLabel>Stakeholder</FormLabel>
162-
<div className="relative right-1">
162+
<div>
163163
<LinearCombobox
164164
options={stakeHolderOpts}
165165
onValueChange={(option) => field.onChange(option.value)}

src/components/securities/shares/steps/contribution-details.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const ContributionDetails = ({
7777
<FormItem>
7878
<FormLabel>Stakeholder</FormLabel>
7979
{/* eslint-disable-next-line @typescript-eslint/no-unsafe-assignment */}
80-
<div className="relative right-1">
80+
<div>
8181
<LinearCombobox
8282
options={stakeHoldersOpts}
8383
onValueChange={(option) => field.onChange(option.value)}

src/components/securities/shares/steps/general-details.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export const GeneralDetails = ({ shareClasses }: GeneralDetailsProps) => {
132132
render={({ field }) => (
133133
<FormItem>
134134
<FormLabel>Select a share class</FormLabel>
135-
<div className="relative right-1">
135+
<div>
136136
<LinearCombobox
137137
options={shareClassOpts}
138138
onValueChange={(option) => field.onChange(option.value)}
@@ -179,7 +179,7 @@ export const GeneralDetails = ({ shareClasses }: GeneralDetailsProps) => {
179179
render={({ field }) => (
180180
<FormItem>
181181
<FormLabel>Status</FormLabel>
182-
<div className="relative right-1">
182+
<div>
183183
<LinearCombobox
184184
options={statusOpts}
185185
onValueChange={(option) => field.onChange(option.value)}
@@ -258,7 +258,7 @@ export const GeneralDetails = ({ shareClasses }: GeneralDetailsProps) => {
258258
render={({ field }) => (
259259
<FormItem>
260260
<FormLabel>Vesting schedule</FormLabel>
261-
<div className="relative right-1">
261+
<div>
262262
<LinearCombobox
263263
options={vestingScheduleOpts}
264264
onValueChange={(option) => field.onChange(option.value)}

0 commit comments

Comments
 (0)