Skip to content

Commit af75e01

Browse files
committed
Fix splitter styling
1 parent 8ea0dec commit af75e01

2 files changed

Lines changed: 35 additions & 2 deletions

File tree

src/components/calltree/Butterfly.css

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,38 @@
77
min-height: 0;
88
flex: 1;
99
}
10+
11+
/* Provide 3px extra grabbable surface on each side of the splitter */
12+
.butterflyWrapper .splitter-layout > .layout-splitter {
13+
position: relative; /* containing block for absolute ::before */
14+
border: none;
15+
background-color: var(--base-border-color) !important;
16+
}
17+
18+
.butterflyWrapper .splitter-layout > .layout-splitter::before {
19+
position: absolute;
20+
z-index: var(--z-bottom-box);
21+
display: block;
22+
content: '';
23+
}
24+
25+
.butterflyWrapper
26+
.splitter-layout:not(.splitter-layout-vertical)
27+
> .layout-splitter {
28+
width: 1px;
29+
}
30+
.butterflyWrapper
31+
.splitter-layout:not(.splitter-layout-vertical)
32+
> .layout-splitter::before {
33+
inset: 0 -3px;
34+
}
35+
36+
.butterflyWrapper .splitter-layout.splitter-layout-vertical > .layout-splitter {
37+
height: 1px;
38+
margin-bottom: -1px;
39+
}
40+
.butterflyWrapper
41+
.splitter-layout.splitter-layout-vertical
42+
> .layout-splitter::before {
43+
inset: -3px 0;
44+
}

src/profile-logic/call-tree.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,8 +664,6 @@ export class CallTree {
664664
iconSrc,
665665
icon,
666666
ariaLabel,
667-
rawTotal: total,
668-
rawSelf: self,
669667
};
670668
this._displayDataByIndex.set(callNodeIndex, displayData);
671669
}

0 commit comments

Comments
 (0)