Skip to content

Commit

Permalink
chore: fix overlapping month label
Browse files Browse the repository at this point in the history
  • Loading branch information
singhAmandeep007 committed Jun 24, 2024
1 parent 4f8f5e2 commit e08356d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/GithubData/GithubCalendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export function GithubCalendar({
x={xPos + LABEL_FONT_SIZE / 2}
y={LABEL_OFFSET - 5} // Above the rectangles
textAnchor="end"
style={{ ...labelStyles, writingMode: "vertical-lr" }}
style={{ ...labelStyles, writingMode: "vertical-lr", display: month.totalWeeks < 2 ? "none" : "block" }}
>
{month.name}
</text>
Expand Down

0 comments on commit e08356d

Please sign in to comment.