mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-13 07:47:05 +08:00
fix: CB-1094 confirmation dialogs design
This commit is contained in:
@@ -55,7 +55,6 @@ export const SessionExpiredDialog = observer(function SessionExpiredDialog({
|
||||
</controls>
|
||||
)}
|
||||
noOverflow
|
||||
noBodyPadding
|
||||
onReject={rejectDialog}
|
||||
>
|
||||
<p>{translate('app_root_session_expired_message')}</p>
|
||||
|
||||
-1
@@ -52,7 +52,6 @@ export const SessionExpireWarningDialog = observer(function SessionExpireWarning
|
||||
</controls>
|
||||
)}
|
||||
noOverflow
|
||||
noBodyPadding
|
||||
onReject={rejectDialog}
|
||||
>
|
||||
<p>{translate('app_root_session_expire_warning_message')}</p>
|
||||
|
||||
@@ -65,12 +65,11 @@ export const ConfirmationDialog: DialogComponent<ConfirmationDialogPayload> = fu
|
||||
</header-title>
|
||||
{subTitle && <sub-title>{subTitle}</sub-title>}
|
||||
</header>
|
||||
<dialog-body>
|
||||
<dialog-body {...use({ 'no-overflow': true })}>
|
||||
<dialog-body-overflow-box>
|
||||
<dialog-body-content>
|
||||
<Translate token={message} />
|
||||
</dialog-body-content>
|
||||
<dialog-body-overflow />
|
||||
</dialog-body-overflow-box>
|
||||
</dialog-body>
|
||||
<footer>
|
||||
|
||||
Reference in New Issue
Block a user