Skip to content

Commit 6d0a0ed

Browse files
BrandonNgoranNtamchrisbobbe
authored andcommitted
AccountDetails: Remove extra margin
"styles.halfMarginRight" was pushing the text to the left and making it off-center. That margin has been removed for the "displayEmail" and "full_name" lines Co-authored-by: Chris Bobbe <[email protected]>
1 parent ff7b6e8 commit 6d0a0ed

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/account-info/AccountDetails.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,17 +95,13 @@ export default function AccountDetails(props: Props): Node {
9595
/>
9696
<ZulipText
9797
selectable
98-
style={[styles.largerText, componentStyles.boldText, styles.halfMarginRight]}
98+
style={[styles.largerText, componentStyles.boldText]}
9999
text={user.full_name}
100100
/>
101101
</View>
102102
{displayEmail !== null && showEmail && (
103103
<View>
104-
<ZulipText
105-
selectable
106-
style={[styles.largerText, styles.halfMarginRight]}
107-
text={displayEmail}
108-
/>
104+
<ZulipText selectable style={styles.largerText} text={displayEmail} />
109105
</View>
110106
)}
111107
{

0 commit comments

Comments
 (0)