Permalink
Browse files

css centering login markup

  • Loading branch information...
ehelin committed Oct 26, 2018
1 parent b1c660f commit cf7d5bf6cda6461053528a883d227f94c7faebbe
Showing with 10 additions and 3 deletions.
  1. +10 −3 TgimbaNetCoreWebReactJs/ClientApp/src/components/Login.js
@@ -12,18 +12,25 @@ class Login extends React.Component {
render() {
let { username, password } = this.state;
const processLogin = _ => {
this.props.login(username, password);
}
const processCancel = _ => {
this.props.cancel();
}
}
var tableStyle = {
"width": "100%",
"text-align": "center",
"vertical-align":" middle"
};
return (
return (
<div>
<h1>React JS - Login</h1>
<table>
<table style={tableStyle}>
<tr>
<td>
<label>Username:</label>

0 comments on commit cf7d5bf

Please sign in to comment.