Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CB-4442 add box styles to the form itself #2277

Merged
merged 2 commits into from
Jan 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -79,31 +79,29 @@ export const AuthConfigurationForm = observer<Props>(function AuthConfigurationF
}, []);

return (
<Form context={form}>
<Form context={form} className={s(styles, { box: true }, className)}>
<TabsState actions={actions} container={service.tabsContainer} state={state} onCancel={onCancel}>
<div className={s(styles, { box: true }, className)}>
<div className={s(styles, { topBar: true })}>
<div className={s(styles, { topBarTabs: true })}>
<div className={s(styles, { statusMessage: true })}>
{state.statusMessage && (
<>
<IconOrImage className={s(styles, { iconOrImage: true })} icon="/icons/info_icon.svg" />
{translate(state.statusMessage)}
</>
)}
</div>
<TabList style={tabsInnerStyles} disabled={false} />
</div>
<div className={s(styles, { topBarActions: true })}>
<Loader suspense inline hideMessage hideException>
<Placeholder actions={actions} container={service.actionsContainer} state={state} onCancel={onCancel} />
</Loader>
<div className={s(styles, { topBar: true })}>
<div className={s(styles, { topBarTabs: true })}>
<div className={s(styles, { statusMessage: true })}>
{state.statusMessage && (
<>
<IconOrImage className={s(styles, { iconOrImage: true })} icon="/icons/info_icon.svg" />
{translate(state.statusMessage)}
</>
)}
</div>
<TabList style={tabsInnerStyles} disabled={false} />
</div>
<div className={s(styles, { contentBox: true })}>
<TabPanelList style={tabsInnerStyles} />
<div className={s(styles, { topBarActions: true })}>
<Loader suspense inline hideMessage hideException>
<Placeholder actions={actions} container={service.actionsContainer} state={state} onCancel={onCancel} />
</Loader>
</div>
</div>
<div className={s(styles, { contentBox: true })}>
<TabPanelList style={tabsInnerStyles} />
</div>
</TabsState>
</Form>
);
Expand Down
Loading