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:
charlesh88
2020-07-14 18:42:52 -07:00
parent 87d63806b9
commit 894da25461
3 changed files with 8 additions and 13 deletions

View File

@@ -118,9 +118,7 @@ mct-plot {
.gl-plot {
display: flex;
position: relative;
width: 100%;
height: 100%;
flex: 1 1 auto;
/*********************** AXIS AND DISPLAY AREA */
.plot-wrapper-axis-and-display-area {

View File

@@ -74,13 +74,11 @@
height: 0; // Chrome 73 overflow bug fix
overflow: auto;
.u-angular-object-view-wrapper {
.u-fills-container {
// Expand component types that fill a container
@include abs();
}
}
}
.c-click-icon,
.c-button {
@@ -91,8 +89,5 @@
}
.u-angular-object-view-wrapper {
flex: 1 1 auto;
height: 100%;
width: 100%;
overflow: hidden;
display: contents;
}

View File

@@ -4,7 +4,7 @@
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;
}
@@ -41,6 +41,8 @@
&__content {
flex: 1 1 auto;
display: flex;
flex-direction: column;
}
&__elements {