Skip to content

Commit bcc6adc

Browse files
kyle-ssgkhvn26
authored andcommitted
fix: Integrations size (#5733)
1 parent eaf9e31 commit bcc6adc

File tree

1 file changed

+43
-40
lines changed

1 file changed

+43
-40
lines changed

frontend/web/components/IntegrationSelect.tsx

Lines changed: 43 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,7 @@ const IntegrationSelect: FC<IntegrationSelectType> = ({ onComplete }) => {
7777
}
7878
return (
7979
<div className='bg-light100 pb-5'>
80-
<div className='container-fluid mt-4 px-3'>
81-
<PageTitle title={'Use Feature Flags with your favourite tools'}>
82-
Select which tools you current use. This information will help us
83-
surface the integrations we currently have and also prioritize
84-
additional development work on integrations in our pipeline.
85-
</PageTitle>
86-
</div>
87-
<div className='container-fluid'>
80+
<div className='container-fluid pt-4'>
8881
<div className='row'>
8982
<div className=' d-none col-md-3 d-md-flex col-xl-2 h-100 flex-column mx-0 px-0'>
9083
<div className='mx-md-3'>
@@ -99,19 +92,48 @@ const IntegrationSelect: FC<IntegrationSelectType> = ({ onComplete }) => {
9992
))}
10093
</div>
10194
</div>
102-
<div className='col-md-9 h-100'>
103-
<div className='col-md-6 mx-2 mb-2'>
104-
<Input
105-
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
106-
setSearch(Utils.safeParseEventValue(e))
107-
}}
108-
value={search}
109-
type='text'
110-
className='w-100'
111-
placeholder='Search'
112-
search
113-
/>
95+
<div className='col-md-9 col-xxl-7 h-100'>
96+
<PageTitle title={'Use Feature Flags with your favourite tools'}>
97+
Select which tools you current use. This information will help us
98+
surface the integrations we currently have and also prioritize
99+
additional development work on integrations in our pipeline.
100+
</PageTitle>
101+
<div className='row'>
102+
<div className='col-md-6 px-3'>
103+
<Input
104+
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
105+
setSearch(Utils.safeParseEventValue(e))
106+
}}
107+
value={search}
108+
type='text'
109+
className='w-100'
110+
placeholder='Search'
111+
search
112+
/>
113+
</div>
114+
<div className='col-md-6'>
115+
<div className='sticky d-flex justify-content-end gap-4'>
116+
<Button
117+
data-test='skip-integrations'
118+
onClick={skip}
119+
style={{ width: 120 }}
120+
theme='secondary'
121+
>
122+
Skip
123+
</Button>
124+
<Button
125+
data-test='submit-integrations'
126+
onClick={submit}
127+
disabled={!selectedIntegrations?.length || isLoading}
128+
style={{ width: 120 }}
129+
theme='primary'
130+
>
131+
Confirm
132+
</Button>
133+
</div>
134+
</div>
114135
</div>
136+
115137
<div className='d-flex my-2 mx-2 flex-wrap gap-2'>
116138
{selectedIntegrations.map((label) => (
117139
<div
@@ -131,7 +153,7 @@ const IntegrationSelect: FC<IntegrationSelectType> = ({ onComplete }) => {
131153
))}
132154
</div>
133155
<div
134-
style={{ height: 'calc(100vh - 450px)' }}
156+
style={{ height: 'calc(100vh - 350px)' }}
135157
className='overflow-scroll overflow-x-hidden d-flex flex-column m-0 pt-0 custom-scroll'
136158
>
137159
{!!Constants.integrationCategoryDescriptions[
@@ -201,25 +223,6 @@ const IntegrationSelect: FC<IntegrationSelectType> = ({ onComplete }) => {
201223
</div>
202224
</div>
203225
<hr className='mb-5 mt-0' />
204-
<div className='sticky d-flex justify-content-end gap-4'>
205-
<Button
206-
data-test='skip-integrations'
207-
onClick={skip}
208-
style={{ width: 120 }}
209-
theme='secondary'
210-
>
211-
Skip
212-
</Button>
213-
<Button
214-
data-test='submit-integrations'
215-
onClick={submit}
216-
disabled={!selectedIntegrations?.length || isLoading}
217-
style={{ width: 120 }}
218-
theme='primary'
219-
>
220-
Confirm
221-
</Button>
222-
</div>
223226
</div>
224227
</div>
225228
</div>

0 commit comments

Comments
 (0)