diff --git a/src/styles/widgets.css b/src/styles/widgets.css index 33e03f0..5d92aa8 100644 --- a/src/styles/widgets.css +++ b/src/styles/widgets.css @@ -265,6 +265,15 @@ span.signal-unit::after { /* End button widget styling */ +/*Lamp Widget styling*/ + +.lamp-widget { + width: 100%; + height: 100%; +} + +/* End lamp widget styling*/ + .full { width: 100%; height: 100%; diff --git a/src/widget/widgets/lamp.js b/src/widget/widgets/lamp.js index b9a9605..7a89c04 100644 --- a/src/widget/widgets/lamp.js +++ b/src/widget/widgets/lamp.js @@ -66,8 +66,6 @@ class WidgetLamp extends Component { let style = { backgroundColor: color, - width: this.props.widget.width, - height: this.props.widget.height } return (