[regression] Remove extra padding in mobile accounts page (#1916)

* [regression] Remove extra padding in mobile accounts page

* Release notes

* VRT
This commit is contained in:
Joel Jeremy Marquez
2023-11-20 12:44:12 -08:00
committed by GitHub
parent 47007232b8
commit a10b10a87b
5 changed files with 11 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

After

Width:  |  Height:  |  Size: 104 KiB

View File

@@ -21,11 +21,12 @@ function AccountHeader({ name, amount, style = {} }) {
return (
<View
style={{
flex: '1 0 auto',
flex: 1,
flexDirection: 'row',
marginTop: 10,
marginRight: 10,
color: theme.pageTextLight,
width: '100%',
...style,
}}
>
@@ -54,13 +55,14 @@ function AccountCard({ account, updated, getBalanceQuery, onSelect }) {
return (
<View
style={{
flex: '1 0 auto',
flex: 1,
flexDirection: 'row',
backgroundColor: theme.tableBackground,
boxShadow: `0 1px 1px ${theme.mobileAccountShadow}`,
borderRadius: 6,
marginTop: 10,
marginRight: 10,
width: '100%',
}}
data-testid="account"
>
@@ -78,7 +80,7 @@ function AccountCard({ account, updated, getBalanceQuery, onSelect }) {
>
<View
style={{
flex: '1 auto',
flex: 1,
margin: '10px 0',
}}
>

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [joel-jeremy]
---
Fix mobile accounts page padding regression.