aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/LoginButton.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-12-10 17:17:27 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commit61ebb943bde379e4f5a23294a602130faa6901ea (patch)
tree056ad86dd8e0c9b3708059a889ff69b3af4f757f /vnext/src/components/LoginButton.js
parentf9e29427a54c70d1208629a2ebf702841b1334ec (diff)
hide login title on mobile
Diffstat (limited to 'vnext/src/components/LoginButton.js')
-rw-r--r--vnext/src/components/LoginButton.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/vnext/src/components/LoginButton.js b/vnext/src/components/LoginButton.js
index 5bc58ef69..02a1db358 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">