Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
luacmartins committed Jul 20, 2021
1 parent 0be9de3 commit e5974e6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
13 changes: 6 additions & 7 deletions src/components/CommunicationsLink.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,15 @@ const CommunicationsLink = props => (
>
{props.children}
</Pressable>
)
: props.children}
{!props.isSmallScreenWidth
&& (
) : (
<View style={[
styles.pAbsolute,
styles.flexRow,
styles.alignItemsCenter,
styles.justifyContentCenter,
styles.communicationsLinkIcon]}
styles.w100,
styles.communicationsLinkHeight,
]}
>
{props.children}
<ContextMenuItem
icon={ClipboardIcon}
text={props.translate('contextMenuItem.copyToClipboard')}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/DetailsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const DetailsPage = ({
</Text>
)}
{details.login ? (
<View style={[styles.mb6, styles.detailsPageSectionContainer]}>
<View style={[styles.mb6, styles.detailsPageSectionContainer, styles.w100]}>
<Text style={[styles.formLabel, styles.mb2]} numberOfLines={1}>
{translate(isSMSLogin
? 'common.phoneNumber'
Expand Down
6 changes: 2 additions & 4 deletions src/styles/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -1793,10 +1793,8 @@ const styles = {
...whiteSpace.noWrap,
},

communicationsLinkIcon: {
right: -36,
top: 0,
bottom: 0,
communicationsLinkHeight: {
height: 20,
},
};

Expand Down

0 comments on commit e5974e6

Please sign in to comment.