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

show border of box widget, closes #228

This commit is contained in:
irismarie 2020-06-25 13:05:40 +02:00
parent 9817fe32a5
commit 8523b9e354
3 changed files with 4 additions and 5 deletions

View file

@ -373,9 +373,9 @@ div[class*="-widget"] label {
/* End table widget*/
/* Begin box widget */
.box-widget .border {
.box-widget {
width: 100%;
height: 100%;
border: 2px solid;
border: 2px solid lightgray;
}
/* End box widget */

View file

@ -168,6 +168,7 @@ class WidgetFactory {
widget.width = 100;
widget.height = 100;
widget.customProperties.border_color = 0;
widget.customProperties.background_color = 9;
widget.customProperties.background_color_opacity = 0.5;
widget.z = 0;
break;

View file

@ -31,10 +31,8 @@ class WidgetBox extends Component {
}
return (
<div className="box-widget full">
<div className="border" style={colorStyle}>
<div className="box-widget full" style={colorStyle}>
{ }
</div>
</div>
);
}