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:
parent
3859aa887b
commit
67d0e159bf
2 changed files with 8 additions and 2 deletions
|
@ -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}>
|
||||
|
|
|
@ -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*/
|
Loading…
Add table
Reference in a new issue