mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 07:08:12 +00:00
Misc Fixes 1 (#2382)
- Fix color issue for mobile menu icon; - Fixed Chrome 73 overflow issue in main folder view; - Better fixes for Chrome 73 overflow bug; - Code cleanup;
This commit is contained in:
committed by
Deep Tailor
parent
1a2048332f
commit
4274d8cc0b
@ -425,12 +425,13 @@
|
|||||||
// Background is displayed on hover
|
// Background is displayed on hover
|
||||||
// Padding is included to facilitate a bigger hit area
|
// Padding is included to facilitate a bigger hit area
|
||||||
// Make the icon bigger relative to its container
|
// Make the icon bigger relative to its container
|
||||||
|
$pLR: 4px;
|
||||||
|
$pTB: 4px;
|
||||||
|
|
||||||
@include cControl();
|
@include cControl();
|
||||||
background: none;
|
background: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
$pLR: 4px;
|
|
||||||
$pTB: 4px;
|
|
||||||
transition: $transOut;
|
transition: $transOut;
|
||||||
border-radius: $controlCr;
|
border-radius: $controlCr;
|
||||||
padding: $pTB $pLR;
|
padding: $pTB $pLR;
|
||||||
|
@ -75,6 +75,7 @@
|
|||||||
// For mobile, collapse button becomes menu icon
|
// For mobile, collapse button becomes menu icon
|
||||||
body.mobile & {
|
body.mobile & {
|
||||||
@include cClickIconButton();
|
@include cClickIconButton();
|
||||||
|
color: $colorKey !important;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: -2 * nth($shellPanePad, 2); // Needs to be -1 * when pane is collapsed
|
right: -2 * nth($shellPanePad, 2); // Needs to be -1 * when pane is collapsed
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -186,6 +187,7 @@
|
|||||||
&__main-container {
|
&__main-container {
|
||||||
// Wrapper for main views
|
// Wrapper for main views
|
||||||
flex: 1 1 auto !important;
|
flex: 1 1 auto !important;
|
||||||
|
height: 0; // Chrome 73 overflow bug fix
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,13 +52,12 @@
|
|||||||
|
|
||||||
&__tree {
|
&__tree {
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
height: 100%;
|
height: 0; // Chrome 73 overflow bug fix
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.c-tree {
|
.c-tree {
|
||||||
@include userSelectNone();
|
@include userSelectNone();
|
||||||
height: 100%; // Chrome 73 overflow bug fix
|
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding-right: $interiorMargin;
|
padding-right: $interiorMargin;
|
||||||
|
Reference in New Issue
Block a user