mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(site): correct the size and position of the timeline trail in safari (#13348)
This commit is contained in:
@@ -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%",
|
||||
|
||||
Reference in New Issue
Block a user