Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion apps/meteor/client/components/GenericModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const GenericModal: FC<GenericModalProps> = ({
<Modal.Close title={t('Close')} onClick={onClose} />
</Modal.Header>
<Modal.Content fontScale='p2'>{children}</Modal.Content>
<Modal.Footer>
<Modal.Footer justifyContent={dontAskAgain ? 'space-between' : 'end'}>
{dontAskAgain}
<Modal.FooterControllers>
{onCancel && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ export const FederationModal: FC<{ onClose: () => void }> = ({ onClose, ...props
</Modal.Content>
</>
)}
<Modal.Footer>
<Modal.Footer justifyContent='space-between'>
{currentStep === 2 && (
<Box mbs='x8' color='hint' fontSize='x12' position='absolute'>
<Box color='hint' fontSize='x12'>
{t('Federation_DNS_info_update')}
</Box>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ const DeviceManagementFeatureModal = ({ close }: { close: () => void }): ReactEl
<FeatureModalBullets key={index} title={title} subtitle={subtitle} icon={icon} />
))}
</Modal.Content>
<Modal.Footer>
<Modal.Footer justifyContent='space-between'>
<ExternalLink to={documentationURL}>{t('Learn_more')}</ExternalLink>
<Modal.FooterControllers>
<ExternalLink to={documentationURL}>{t('Learn_more')}</ExternalLink>
<Button onClick={handleGotit}>{t('Got_it')}</Button>
</Modal.FooterControllers>
</Modal.Footer>
Expand Down