1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

Center content in table widget

This commit is contained in:
Ricardo Hernandez-Montoya 2017-04-19 16:14:42 +02:00
parent 3859aa887b
commit 67d0e159bf
2 changed files with 8 additions and 2 deletions

View file

@ -57,7 +57,7 @@ class WidgetTable extends Component {
render() {
return (
<div>
<div className="table-widget">
<h4>{this.props.widget.name}</h4>
<Table data={this.state.rows}>

View file

@ -394,4 +394,10 @@ div[class*="-widget"] label {
.label-widget {
text-align: center;
}
/* End label widget */
/* End label widget */
/* Begin table widget */
.table-widget td, .table-widget th {
text-align: center;
}
/* End table widget*/