diff --git a/src/components/CommunicationsLink.js b/src/components/CommunicationsLink.js index c60ced905fc88..bbaa924ebc08c 100644 --- a/src/components/CommunicationsLink.js +++ b/src/components/CommunicationsLink.js @@ -44,16 +44,15 @@ const CommunicationsLink = props => ( > {props.children} - ) - : props.children} - {!props.isSmallScreenWidth - && ( + ) : ( + {props.children} - {details.displayName && isSMSLogin - ? ( - - - {toLocalPhone(details.displayName)} - - - ) : ( - - {details.displayName || null} - - )} + {details.displayName && ( + + {isSMSLogin ? toLocalPhone(details.displayName) : details.displayName} + + )} {details.login ? ( - + {translate(isSMSLogin ? 'common.phoneNumber' diff --git a/src/styles/styles.js b/src/styles/styles.js index 854cef4d0049b..40cf62fd509d8 100644 --- a/src/styles/styles.js +++ b/src/styles/styles.js @@ -1793,10 +1793,8 @@ const styles = { ...whiteSpace.noWrap, }, - communicationsLinkIcon: { - right: -36, - top: 0, - bottom: 0, + communicationsLinkHeight: { + height: 20, }, };