mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-16 00:00:03 +01:00
Center content in table widget
This commit is contained in:
parent
3859aa887b
commit
67d0e159bf
2 changed files with 8 additions and 2 deletions
src
|
@ -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}>
|
||||
|
|
|
@ -395,3 +395,9 @@ div[class*="-widget"] label {
|
|||
text-align: center;
|
||||
}
|
||||
/* End label widget */
|
||||
|
||||
/* Begin table widget */
|
||||
.table-widget td, .table-widget th {
|
||||
text-align: center;
|
||||
}
|
||||
/* End table widget*/
|
Loading…
Add table
Reference in a new issue