- {t('If the recipient account is new, the balance needs to be more than the existential deposit. Likewise if the sending account balance drops below the same value, the account will be removed from the state.')}
- {t('With the keep-alive option set, the account is protected against removal due to low balances.')}
- >
- }>
+ ('If the recipient account is new, the balance needs to be more than the existential deposit. Likewise if the sending account balance drops below the same value, the account will be removed from the state.')}>
{canToggleAll && isAll
? (
)
}
+
+
{isFunction(api.tx.balances.transferKeepAlive) && (
& {
Actions: React.FC;
Columns: React.FC;
Content: typeof SUIModal.Content;
- Header: typeof SUIModal.Header;
Description: typeof SUIModal.Description;
};
@@ -31,7 +30,9 @@ function ModalBase (props: ModalProps): React.ReactElement {
open={open}
>
{header && (
- {header}
+
+
{header}
+
)}
{children}
@@ -43,7 +44,6 @@ const Modal = React.memo(ModalBase) as unknown as ModalType;
Modal.Actions = Actions;
Modal.Columns = Columns;
Modal.Content = SUIModal.Content;
-Modal.Header = SUIModal.Header;
Modal.Description = SUIModal.Description;
export default Modal;
diff --git a/packages/react-components/src/styles/semantic.ts b/packages/react-components/src/styles/semantic.ts
index 34d2d310b2..036259f793 100644
--- a/packages/react-components/src/styles/semantic.ts
+++ b/packages/react-components/src/styles/semantic.ts
@@ -149,12 +149,16 @@ export default (_theme: ThemeDef): string => `
font-size: 1.75rem;
font-weight: var(--font-weight-normal);
line-height: 1.25rem;
- padding: 1.5rem 1.75rem 0;
+ padding: 0.75rem 1.5rem 0;
text-transform: lowercase;
> label {
margin-top: 0.5rem;
}
+
+ > h1 {
+ line-height: 1;
+ }
}
.description {
@@ -199,7 +203,7 @@ export default (_theme: ThemeDef): string => `
/* modals aligned to top, not center */
.ui.dimmer {
- background-color: rgba(0,0,0,0.5);
+ background-color: rgba(96, 96, 96, 0.5);
justify-content: flex-start;
}