diff options
| author | Andrej Mihajlov <and@codeispoetry.ru> | 2017-02-08 15:24:30 +0000 |
|---|---|---|
| committer | Andrej Mihajlov <and@codeispoetry.ru> | 2017-02-08 15:24:30 +0000 |
| commit | a76a93169841ec78f08b973aa17eea9fcf982feb (patch) | |
| tree | 1e506652d7e93b4c35b75a17abac9d46b477f882 /app/components | |
| parent | 00b000a050d60e9b13ac85d6bd73fd84d5ffcf87 (diff) | |
| download | mullvadvpn-a76a93169841ec78f08b973aa17eea9fcf982feb.tar.xz mullvadvpn-a76a93169841ec78f08b973aa17eea9fcf982feb.zip | |
Strip out CSS modules since babel plugin does not work as intended
See https://trello.com/c/i9ntPAl9/10-add-css-modules
Diffstat (limited to 'app/components')
| -rw-r--r-- | app/components/LoggedIn.css | 3 | ||||
| -rw-r--r-- | app/components/LoggedIn.js | 2 | ||||
| -rw-r--r-- | app/components/Login.css | 2 | ||||
| -rw-r--r-- | app/components/Login.js | 3 |
4 files changed, 6 insertions, 4 deletions
diff --git a/app/components/LoggedIn.css b/app/components/LoggedIn.css new file mode 100644 index 0000000000..a289e6067d --- /dev/null +++ b/app/components/LoggedIn.css @@ -0,0 +1,3 @@ +.loggedin__container { + border: 1px solid black; +}
\ No newline at end of file diff --git a/app/components/LoggedIn.js b/app/components/LoggedIn.js index 50521d5f6a..c99f289c48 100644 --- a/app/components/LoggedIn.js +++ b/app/components/LoggedIn.js @@ -3,7 +3,7 @@ import React, { Component } from 'react'; export default class LoggedIn extends Component { render() { return ( - <div> + <div className="loggedin__container"> <h2>Logged in as {this.props.user.username}</h2> </div> ); diff --git a/app/components/Login.css b/app/components/Login.css index b59a5dbc86..362abac556 100644 --- a/app/components/Login.css +++ b/app/components/Login.css @@ -1,3 +1,3 @@ -.container { +.login__container { border: 1px solid green; }
\ No newline at end of file diff --git a/app/components/Login.js b/app/components/Login.js index d2cea86b42..ec822a4f2b 100644 --- a/app/components/Login.js +++ b/app/components/Login.js @@ -1,5 +1,4 @@ import React, { Component, PropTypes } from 'react'; -import styles from './Login.css'; export default class Login extends Component { static propTypes = { @@ -17,7 +16,7 @@ export default class Login extends Component { render() { return ( - <div className={styles.container}> + <div className="login__container"> <h2>Login</h2> <input ref="username" type="text" /> <button onClick={::this.handleLogin}>Log In</button> |
