Skip to content

Commit 3ec689b

Browse files
authored
docs: draw the time cut like the memory cut so both charts read the same (#174)
1 parent 1bc3e08 commit 3ec689b

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

‎Docs/pages/src/components/BenchmarkComparison/styles.module.css‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -251,11 +251,6 @@
251251
box-shadow: inset 0 0 0 1px var(--bar-color);
252252
}
253253

254-
.barHatched.barCut::after {
255-
width: 6px;
256-
box-shadow: -1px 0 0 var(--bar-color), 1px 0 0 var(--bar-color);
257-
}
258-
259254
.swatch {
260255
display: none;
261256
width: 14px;
@@ -283,8 +278,9 @@
283278
position: absolute;
284279
top: -3px;
285280
right: 14px;
286-
width: 4px;
281+
width: 6px;
287282
height: 20px;
283+
box-shadow: -1px 0 0 var(--bar-color), 1px 0 0 var(--bar-color);
288284
/* Infima's light --ifm-background-color is transparent, which would hide the cut. */
289285
background: #ffffff;
290286
transform: skewX(-20deg);

0 commit comments

Comments
 (0)