Skip to content

Commit

Permalink
Improve Delete Account button layout on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaw3d committed Jan 25, 2024
1 parent 76f6291 commit 4d96ab9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .changelog/1836.trivial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Improve Delete Account button layout on mobile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ const StyledForm = styled(Form)`
justify-content: space-between;
` as typeof Form

const StyledDeleteButton = styled(Button)``
const StyledDeleteButton = styled(Button)`
text-align: center;
`
StyledDeleteButton.defaultProps = {
plain: true,
color: 'status-error',
Expand Down Expand Up @@ -127,7 +129,7 @@ export const ManageableAccountDetails = ({
<DerivationFormatter pathDisplay={wallet.pathDisplay} type={wallet.type} />
</Text>
</Box>
<Box justify="between" direction="row" gap="medium">
<Box justify="between" direction="row-responsive" gap="large">
<Button
label={t('toolbar.settings.exportPrivateKey.title', 'Export Private Key')}
disabled={!wallet.privateKey}
Expand Down

0 comments on commit 4d96ab9

Please sign in to comment.