File tree Expand file tree Collapse file tree 4 files changed +302
-97
lines changed
packages/react-devtools-shared/src/devtools/views/Components Expand file tree Collapse file tree 4 files changed +302
-97
lines changed Original file line number Diff line number Diff line change 1515}
1616
1717.TreeWrapper {
18- flex : 0 0 var (--horizontal-resize-percentage );
18+ border-top : 1px solid var (--color-border );
19+ flex : 1 1 65% ;
20+ display : flex;
21+ flex-direction : row;
22+ height : 100% ;
23+ overflow : auto;
1924}
2025
2126.InspectedElementWrapper {
22- flex : 1 1 35 % ;
27+ flex : 0 0 calc ( 100 % - var ( --horizontal-resize-tree-percentage )) ;
2328 overflow-x : hidden;
2429 overflow-y : auto;
2530}
4247 width : 5px ;
4348 height : 100% ;
4449 cursor : ew-resize;
50+ /*
51+ * The tree in the Components tab has no inherent padding. Make sure these are
52+ * grabbable by elevating the element.
53+ */
54+ z-index : 1 ;
4555}
4656
4757@container devtools (width < 600px) {
5060 }
5161
5262 .TreeWrapper {
53- flex : 0 0 var (--vertical-resize-percentage );
63+ border-top : 1px solid var (--color-border );
64+ flex : 1 1 50% ;
65+ overflow : hidden;
5466 }
5567
5668 .InspectedElementWrapper {
57- flex : 1 1 50 % ;
69+ flex : 0 0 calc ( 100 % - var ( --vertical-resize-tree-percentage )) ;
5870 }
5971
60- .ResizeBar {
72+ .TreeWrapper + . ResizeBarWrapper . ResizeBar {
6173 top : 1px ;
6274 left : 0 ;
6375 width : 100% ;
6476 height : 5px ;
6577 cursor : ns-resize;
6678 }
79+
80+ .ToggleInspectedElement [data-orientation = "horizontal" ] {
81+ display : none;
82+ }
83+ }
84+
85+ @container devtools (width > = 600px) {
86+ .ToggleInspectedElement [data-orientation = "vertical" ] {
87+ display : none;
88+ }
89+ }
90+
91+ .ActivityList {
92+ flex : 0 0 var (--horizontal-resize-activity-list-percentage );;
93+ bor der- right: 1px solid var(- - color - bor der);
94+ overflow: auto ;
95+ }
96+
97+ .TreeView {
98+ flex : 1 1 35% ;
99+ display : flex;
100+ flex-direction : column;
101+ height : 100% ;
102+ overflow : auto;
67103}
68104
69105.Loading {
You can’t perform that action at this time.
0 commit comments