Skip to content

Commit

Permalink
AccountDetails: Remove extra margin
Browse files Browse the repository at this point in the history
"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]>
  • Loading branch information
2 people authored and gnprice committed Jan 25, 2023
1 parent ff7b6e8 commit 6d0a0ed
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/account-info/AccountDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,17 +95,13 @@ export default function AccountDetails(props: Props): Node {
/>
<ZulipText
selectable
style={[styles.largerText, componentStyles.boldText, styles.halfMarginRight]}
style={[styles.largerText, componentStyles.boldText]}
text={user.full_name}
/>
</View>
{displayEmail !== null && showEmail && (
<View>
<ZulipText
selectable
style={[styles.largerText, styles.halfMarginRight]}
text={displayEmail}
/>
<ZulipText selectable style={styles.largerText} text={displayEmail} />
</View>
)}
{
Expand Down

0 comments on commit 6d0a0ed

Please sign in to comment.