mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 12:43:09 -05:00
[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:
committed by
GitHub
parent
47007232b8
commit
a10b10a87b
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 |
@@ -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',
|
||||
}}
|
||||
>
|
||||
|
||||
6
upcoming-release-notes/1916.md
Normal file
6
upcoming-release-notes/1916.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [joel-jeremy]
|
||||
---
|
||||
|
||||
Fix mobile accounts page padding regression.
|
||||
Reference in New Issue
Block a user