Skip to content

Commit

Permalink
fixed timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
eden-lane committed Feb 1, 2024
1 parent 4e4b87b commit db6d119
Showing 1 changed file with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,6 @@ const NowLine = styled.div<{ position: number; time: string }>`
left: 0;
right: 0;
z-index: 5;
&:before {
content: '${(p) => p.time}';
font-size: 12px;
transform: translateY(-50%) translateY(-4px) translateX(-10px) translateX(-100%);
display: inline-block;
color: #fff;
background: ${(p) => p.theme.weekendTextColor};
padding: 0 2px;
border-radius: 3px;
}
`;

const NowDayLine = styled.div<{ top: number; width: number; }>`
Expand All @@ -108,6 +97,7 @@ const NowDayLine = styled.div<{ top: number; width: number; }>`
&:before {
position: absolute;
content: '';
left: 0;
height: 8px;
width: 8px;
border-radius: 50%;
Expand Down

0 comments on commit db6d119

Please sign in to comment.