mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
explicity set background color of visualization container as the property of the parent container gets lost as soon as we enter fullscreen mode
This commit is contained in:
parent
2fa45059f0
commit
a8d4d23c97
2 changed files with 3 additions and 2 deletions
|
@ -431,7 +431,7 @@ class Visualization extends React.Component {
|
|||
render() {
|
||||
const current_widgets = this.state.visualization.widgets;
|
||||
|
||||
let boxClasses = classNames('section', 'box', { 'fullscreen-padding': this.props.isFullscreen });
|
||||
let boxClasses = classNames('section', 'box', { 'fullscreen-container': this.props.isFullscreen });
|
||||
|
||||
let buttons = []
|
||||
let editingControls = [];
|
||||
|
|
|
@ -218,8 +218,9 @@ body {
|
|||
/**
|
||||
* Visualizations
|
||||
*/
|
||||
.fullscreen-padding {
|
||||
.fullscreen-container {
|
||||
padding: 10px;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue