mirror of
https://github.com/nasa/openmct.git
synced 2025-01-27 22:59:37 +00:00
Fix logic such that pane icons are hidden when tree is collapsed
This commit is contained in:
parent
16253a921f
commit
4640ab8331
@ -133,10 +133,9 @@
|
||||
&__pane-tree {
|
||||
background: linear-gradient(90deg, transparent 70%, rgba(black, 0.2) 99%, rgba(black, 0.3));
|
||||
|
||||
.l-pane__header {
|
||||
// Hide all buttons except the collapse button
|
||||
> :not(.l-pane__collapse-button) {
|
||||
display: none;
|
||||
.l-pane__header {
|
||||
> :not(.l-pane__collapse-button) { // On default, show all the header icons.
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@ -148,6 +147,11 @@
|
||||
[class*='collapse-button'] {
|
||||
right: -8px;
|
||||
}
|
||||
.l-pane__header{ // If pane is collapsed, hide all the icons except the collapse button, which gets replaced into the hamburger menu.
|
||||
> :not(.l-pane__collapse-button) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -78,11 +78,6 @@
|
||||
&.l-pane--collapsed {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
body.mobile & {
|
||||
.l-shell__sync-tree-button .l-shell__reset-tree-button{
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -386,7 +381,6 @@
|
||||
body.mobile {
|
||||
.l-pane__header{
|
||||
> * {
|
||||
display: block !important;
|
||||
@include ellipsize();
|
||||
@include userSelectNone();
|
||||
text-transform: uppercase;
|
||||
|
@ -71,6 +71,9 @@
|
||||
color: $colorItemTreeIcon;
|
||||
font-size: 1.25em;
|
||||
height: 50%;
|
||||
body.mobile &{
|
||||
height: auto;
|
||||
}
|
||||
|
||||
// TEMP: uses object-label component, hide label part
|
||||
.c-object-label__name {
|
||||
|
Loading…
x
Reference in New Issue
Block a user