Skip to content

Commit 80bad7d

Browse files
committed
fix UI
1 parent 9afc3b9 commit 80bad7d

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

  • app/[locale]/dashboard/organization/[organizationId]/dataset/[id]/edit/components

app/[locale]/dashboard/organization/[organizationId]/dataset/[id]/edit/components/AccessModelForm.tsx

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -364,23 +364,29 @@ const AccessModelForm: React.FC<AccessModelProps> = ({
364364
/>
365365
</div>
366366

367-
<div className="flex flex-wrap items-center gap-5">
368-
<div className="w-full">
367+
<div className="flex items-end gap-6">
368+
<div className="w-3/4">
369369
<Combobox
370370
displaySelected
371371
label={'Select Fields of the Resource'}
372372
list={availableResources}
373373
selectedValue={selectedFields}
374374
name={''}
375-
helpText={'Use the dropdown to add specific fields'}
375+
helpText={
376+
'Only Resources added will be part of this Access Type. After adding select the Fields and Rows to be included'
377+
}
376378
onChange={(e: any) => handleAddResource(e)}
377379
/>
378380
</div>
379381

380382
<div className="flex h-fit w-fit items-center gap-5">
381-
<Button onClick={handleSelectAll} kind="secondary">
383+
<Button
384+
onClick={handleSelectAll}
385+
kind="secondary"
386+
className="h-fit w-fit"
387+
>
382388
<span className="flex items-center gap-1">
383-
<Text>Select All</Text>
389+
<Text variant="bodySm">Add All Resources</Text>
384390
<Icon source={Icons.plus} size={24} />
385391
</span>
386392
</Button>

0 commit comments

Comments
 (0)