|
|
@ -5,10 +5,10 @@ import { SettingsKey } from '../../data/settings-key';
|
|
|
|
import { updateHideRecoveryPasswordModel } from '../../state/ducks/modalDialog';
|
|
|
|
import { updateHideRecoveryPasswordModel } from '../../state/ducks/modalDialog';
|
|
|
|
import { showSettingsSection } from '../../state/ducks/section';
|
|
|
|
import { showSettingsSection } from '../../state/ducks/section';
|
|
|
|
import { SessionWrapperModal } from '../SessionWrapperModal';
|
|
|
|
import { SessionWrapperModal } from '../SessionWrapperModal';
|
|
|
|
|
|
|
|
import { Flex } from '../basic/Flex';
|
|
|
|
import { SessionButton, SessionButtonColor, SessionButtonType } from '../basic/SessionButton';
|
|
|
|
import { SessionButton, SessionButtonColor, SessionButtonType } from '../basic/SessionButton';
|
|
|
|
import { SessionHtmlRenderer } from '../basic/SessionHTMLRenderer';
|
|
|
|
import { SessionHtmlRenderer } from '../basic/SessionHTMLRenderer';
|
|
|
|
import { SpacerMD } from '../basic/Text';
|
|
|
|
import { SpacerMD } from '../basic/Text';
|
|
|
|
import { ModalConfirmButtonContainer } from '../buttons/ModalConfirmButtonContainer';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const StyledDescriptionContainer = styled.div`
|
|
|
|
const StyledDescriptionContainer = styled.div`
|
|
|
|
width: 280px;
|
|
|
|
width: 280px;
|
|
|
@ -76,6 +76,7 @@ export function HideRecoveryPasswordDialog(props: HideRecoveryPasswordDialogProp
|
|
|
|
onClose={onClose}
|
|
|
|
onClose={onClose}
|
|
|
|
showExitIcon={false}
|
|
|
|
showExitIcon={false}
|
|
|
|
showHeader={true}
|
|
|
|
showHeader={true}
|
|
|
|
|
|
|
|
additionalClassName="no-body-padding"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<StyledDescriptionContainer>
|
|
|
|
<StyledDescriptionContainer>
|
|
|
|
<SessionHtmlRenderer
|
|
|
|
<SessionHtmlRenderer
|
|
|
@ -87,23 +88,10 @@ export function HideRecoveryPasswordDialog(props: HideRecoveryPasswordDialogProp
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</StyledDescriptionContainer>
|
|
|
|
</StyledDescriptionContainer>
|
|
|
|
<SpacerMD />
|
|
|
|
<SpacerMD />
|
|
|
|
<ModalConfirmButtonContainer
|
|
|
|
<Flex container={true} justifyContent="center" alignItems="center" width="100%">
|
|
|
|
container={true}
|
|
|
|
<SessionButton {...leftButtonProps} buttonType={SessionButtonType.Ghost} />
|
|
|
|
justifyContent="center"
|
|
|
|
<SessionButton {...rightButtonProps} buttonType={SessionButtonType.Ghost} />
|
|
|
|
alignItems="center"
|
|
|
|
</Flex>
|
|
|
|
width="100%"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<SessionButton
|
|
|
|
|
|
|
|
{...leftButtonProps}
|
|
|
|
|
|
|
|
buttonType={SessionButtonType.Ghost}
|
|
|
|
|
|
|
|
margin={'0 0 0 calc(var(--margins-lg) * -1)'}
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<SessionButton
|
|
|
|
|
|
|
|
{...rightButtonProps}
|
|
|
|
|
|
|
|
buttonType={SessionButtonType.Ghost}
|
|
|
|
|
|
|
|
margin={'0 calc(var(--margins-lg) * -1) 0 0'}
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</ModalConfirmButtonContainer>
|
|
|
|
|
|
|
|
</SessionWrapperModal>
|
|
|
|
</SessionWrapperModal>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|