diff options
author | 2018-12-10 17:17:27 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:54 +0300 | |
commit | 61ebb943bde379e4f5a23294a602130faa6901ea (patch) | |
tree | 056ad86dd8e0c9b3708059a889ff69b3af4f757f | |
parent | f9e29427a54c70d1208629a2ebf702841b1334ec (diff) |
hide login title on mobile
-rw-r--r-- | vnext/src/components/LoginButton.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vnext/src/components/LoginButton.js b/vnext/src/components/LoginButton.js index 5bc58ef6..02a1db35 100644 --- a/vnext/src/components/LoginButton.js +++ b/vnext/src/components/LoginButton.js @@ -47,7 +47,10 @@ export default class LoginButton extends React.Component { render() { return ( <> - <a onClick={this.toggleModal}><Icon name="ei-user" size="s" />{this.props.title}</a> + <a onClick={this.toggleModal}> + <Icon name="ei-user" size="s" /> + <span className="desktop">{this.props.title}</span> + </a> <Modal show={this.state.isOpen} onClose={this.toggleModal}> <div className="dialoglogin"> |