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:
parent
cd59af8551
commit
5d8b0e00ed
2 changed files with 9 additions and 2 deletions
|
@ -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%;
|
||||
|
|
|
@ -66,8 +66,6 @@ class WidgetLamp extends Component {
|
|||
|
||||
let style = {
|
||||
backgroundColor: color,
|
||||
width: this.props.widget.width,
|
||||
height: this.props.widget.height
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Reference in a new issue