Skip to content

Commit

Permalink
fix(backoffice-v2): fixed UBOs form ui
Browse files Browse the repository at this point in the history
  • Loading branch information
Omri-Levy committed Dec 29, 2024
1 parent e56b926 commit c732db7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,11 @@ export const useManageUbosBlock = ({
<Dialog
open={isManageUbosOpen}
onOpenChange={toggleIsManageUbosOpen}
props={{
content: {
className: 'px-0',
},
}}
trigger={
<Button
type={'button'}
Expand All @@ -225,7 +230,7 @@ export const useManageUbosBlock = ({
content={
<div className={'flex flex-col justify-between space-y-4'}>
{(!create.enabled || !isAddingUbo) && (
<div className={'flex flex-col gap-4'}>
<div className={'flex flex-col gap-4 px-4'}>
<h2 className={'text-lg font-semibold'}>Manage UBOs</h2>
<UrlDataTable
data={ubos}
Expand Down Expand Up @@ -267,16 +272,16 @@ export const useManageUbosBlock = ({
<ArrowLeft className={'d-4'} />
</Button>

<div className={'flex flex-col gap-4'}>
<h2 className={'text-lg font-semibold'}>Add UBO</h2>
<div className={'flex flex-col gap-4 px-2'}>
<h2 className={'ps-2 text-lg font-semibold'}>Add UBO</h2>
<ScrollArea orientation={'vertical'} className={'h-[73vh]'}>
<DynamicForm
schema={formSchema}
uiSchema={uiSchema}
onSubmit={onSubmit}
layouts={layouts as typeof baseLayouts}
transformErrors={transformErrors}
className={'[&>div>fieldset>div:first-of-type]:py-0 [&>div]:py-0'}
className={'pe-4 ps-2 [&>div>fieldset>div:first-of-type]:py-0 [&>div]:py-0'}
/>
</ScrollArea>
</div>
Expand Down
2 changes: 1 addition & 1 deletion services/workflows-service/prisma/data-migrations

0 comments on commit c732db7

Please sign in to comment.