Skip to content

Commit d748c6d

Browse files
authored
fix(site): correct the size and position of the timeline trail in safari (#13348)
1 parent 98fa823 commit d748c6d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

site/src/components/Timeline/TimelineEntry.tsx

+5-2
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,19 @@ export const TimelineEntry = forwardRef<
1414
ref={ref}
1515
css={(theme) => [
1616
{
17-
position: "relative",
1817
"&:focus": {
1918
outlineStyle: "solid",
2019
outlineOffset: -1,
2120
outlineWidth: 2,
2221
outlineColor: theme.palette.primary.main,
2322
},
23+
"& td": {
24+
position: "relative",
25+
overflow: "hidden",
26+
},
2427
"& td:before": {
2528
position: "absolute",
26-
left: 50,
29+
left: 49, // 50px - (width / 2)
2730
display: "block",
2831
content: "''",
2932
height: "100%",

0 commit comments

Comments
 (0)