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

Lamp widget now displayed correctly during/after resizing in layout mode

This commit is contained in:
Laura Fuentes Grau 2020-05-07 15:19:03 +02:00
parent cd59af8551
commit 5d8b0e00ed
2 changed files with 9 additions and 2 deletions

View file

@ -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%;

View file

@ -66,8 +66,6 @@ class WidgetLamp extends Component {
let style = {
backgroundColor: color,
width: this.props.widget.width,
height: this.props.widget.height
}
return (