Skip to content

Commit

Permalink
[regression] Remove extra padding in mobile accounts page (actualbudg…
Browse files Browse the repository at this point in the history
…et#1916)

* [regression] Remove extra padding in mobile accounts page

* Release notes

* VRT
  • Loading branch information
joel-jeremy authored Nov 20, 2023
1 parent 40fba7b commit dd902d6
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}}
>
Expand Down Expand Up @@ -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"
>
Expand All @@ -78,7 +80,7 @@ function AccountCard({ account, updated, getBalanceQuery, onSelect }) {
>
<View
style={{
flex: '1 auto',
flex: 1,
margin: '10px 0',
}}
>
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/1916.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [joel-jeremy]
---

Fix mobile accounts page padding regression.

0 comments on commit dd902d6

Please sign in to comment.