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 { .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 {

View File

@@ -74,13 +74,11 @@
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();
} }
} }
}
.c-click-icon, .c-click-icon,
.c-button { .c-button {
@@ -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;
} }

View File

@@ -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 {