Skip to content

Commit

Permalink
Merge pull request #154 from georgiabains/responsive-update
Browse files Browse the repository at this point in the history
Fix #146 - updated CSS to make the table copy responsive
  • Loading branch information
IonicaBizau authored Feb 27, 2024
2 parents 76bbf98 + 9a95f9e commit cb8a39f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dist/github-calendar-responsive.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ rect.ContributionCalendar-day[data-level='4'] {
}

.table-column {
box-sizing: border-box;
display: table-cell;
width: 1%;
padding-right: 10px;
Expand Down Expand Up @@ -192,3 +193,10 @@ text.ContributionCalendar-label {
fill: #ccc;
font-size: 11px;
}

@media screen and (max-width: 768px) {
.table-column {
display: block;
width: 100%;
}
}

0 comments on commit cb8a39f

Please sign in to comment.