fix: Margin when editing account on desktop (#2286)
* fix: Margin when editing account on desktop * add release notes * increase margin * Update regression tests * fix: Reduce padding in other areas * update snapshots
|
Before Width: | Height: | Size: 131 KiB After Width: | Height: | Size: 131 KiB |
|
Before Width: | Height: | Size: 129 KiB After Width: | Height: | Size: 129 KiB |
|
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 118 KiB |
|
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 117 KiB |
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 105 KiB After Width: | Height: | Size: 105 KiB |
|
Before Width: | Height: | Size: 105 KiB After Width: | Height: | Size: 105 KiB |
|
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 104 KiB |
|
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 104 KiB |
|
Before Width: | Height: | Size: 105 KiB After Width: | Height: | Size: 105 KiB |
|
Before Width: | Height: | Size: 105 KiB After Width: | Height: | Size: 105 KiB |
|
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 58 KiB |
@@ -148,6 +148,8 @@ export function Balances({
|
||||
opacity: selectedItems.size > 0 || showExtraBalances ? 1 : 0,
|
||||
},
|
||||
'&:hover svg': { opacity: 1 },
|
||||
paddingTop: 1,
|
||||
paddingBottom: 1,
|
||||
}}
|
||||
>
|
||||
<CellValue
|
||||
|
||||
@@ -118,7 +118,9 @@ export function AccountHeader({
|
||||
/>
|
||||
|
||||
<View style={{ ...styles.pageContent, paddingBottom: 10, flexShrink: 0 }}>
|
||||
<View style={{ marginTop: 2, alignItems: 'flex-start' }}>
|
||||
<View
|
||||
style={{ marginTop: 2, marginBottom: 10, alignItems: 'flex-start' }}
|
||||
>
|
||||
<View>
|
||||
{editingName ? (
|
||||
<InitialFocus>
|
||||
@@ -133,6 +135,8 @@ export function AccountHeader({
|
||||
marginTop: -5,
|
||||
marginBottom: -2,
|
||||
marginLeft: -5,
|
||||
paddingTop: 2,
|
||||
paddingBottom: 2,
|
||||
}}
|
||||
/>
|
||||
</InitialFocus>
|
||||
@@ -156,7 +160,7 @@ export function AccountHeader({
|
||||
fontSize: 25,
|
||||
fontWeight: 500,
|
||||
marginRight: 5,
|
||||
marginBottom: 5,
|
||||
marginBottom: -1,
|
||||
}}
|
||||
data-testid="account-name"
|
||||
>
|
||||
@@ -188,7 +192,7 @@ export function AccountHeader({
|
||||
</View>
|
||||
) : (
|
||||
<View
|
||||
style={{ fontSize: 25, fontWeight: 500, marginBottom: 5 }}
|
||||
style={{ fontSize: 25, fontWeight: 500, marginBottom: -1 }}
|
||||
data-testid="account-name"
|
||||
>
|
||||
{account && account.closed
|
||||
|
||||
6
upcoming-release-notes/2286.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [dhruvramdev]
|
||||
---
|
||||
|
||||
Fix margin when editing account name on desktop
|
||||