aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components
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
parentf9e29427a54c70d1208629a2ebf702841b1334ec (diff)
hide login title on mobile
Diffstat (limited to 'vnext/src/components')
-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 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">