Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(site): correct the size and position of the timeline trail in safari
  • Loading branch information
aslilac committed May 22, 2024
commit c74664ea5b035e0560f80eb84b2e9e68ca8bae69
7 changes: 5 additions & 2 deletions site/src/components/Timeline/TimelineEntry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ export const TimelineEntry = forwardRef<
ref={ref}
css={(theme) => [
{
position: "relative",
"&:focus": {
outlineStyle: "solid",
outlineOffset: -1,
outlineWidth: 2,
outlineColor: theme.palette.primary.main,
},
"& td": {
position: "relative",
overflow: "hidden",
},
"& td:before": {
position: "absolute",
left: 50,
left: 49, // 50px - (width / 2)
display: "block",
content: "''",
height: "100%",
Expand Down