Fix Safari display issues #3192
- Fix Inspector `__content` to properly use flex column layout; - Change `u-angular-object-view-wrapper` to `display: contents`; - Fix `gl-plot` to properly use `flex: 1 1 auto` instead of width and height;
This commit is contained in:
@@ -118,9 +118,7 @@ mct-plot {
|
|||||||
|
|
||||||
.gl-plot {
|
.gl-plot {
|
||||||
display: flex;
|
display: flex;
|
||||||
position: relative;
|
flex: 1 1 auto;
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
|
|
||||||
/*********************** AXIS AND DISPLAY AREA */
|
/*********************** AXIS AND DISPLAY AREA */
|
||||||
.plot-wrapper-axis-and-display-area {
|
.plot-wrapper-axis-and-display-area {
|
||||||
|
|||||||
@@ -74,11 +74,9 @@
|
|||||||
height: 0; // Chrome 73 overflow bug fix
|
height: 0; // Chrome 73 overflow bug fix
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
.u-angular-object-view-wrapper {
|
.u-fills-container {
|
||||||
.u-fills-container {
|
// Expand component types that fill a container
|
||||||
// Expand component types that fill a container
|
@include abs();
|
||||||
@include abs();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -91,8 +89,5 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.u-angular-object-view-wrapper {
|
.u-angular-object-view-wrapper {
|
||||||
flex: 1 1 auto;
|
display: contents;
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
> * {
|
> * {
|
||||||
// Thi is on purpose: want extra margin on top object-name element
|
// This is on purpose: want extra margin on top object-name element
|
||||||
margin-top: $interiorMargin;
|
margin-top: $interiorMargin;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -41,6 +41,8 @@
|
|||||||
|
|
||||||
&__content {
|
&__content {
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__elements {
|
&__elements {
|
||||||
|
|||||||
Reference in New Issue
Block a user