Skip to content

Commit 0415303

Browse files
Corrected alignment of charts in medium devices (#39)
1 parent fa3db46 commit 0415303

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/[username]/Charts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const borderColor = [
1818

1919
const Charts = ({ commitsPerRepo, starsPerRepo, reposPerLanguages, starsPerLanguages }) => {
2020
return (
21-
<GridContainer name="Charts" className={'grid-cols-2 gap-0 gap-y-6 px-2 md:grid-cols-4 md:gap-8 md:px-6'}>
21+
<GridContainer name="Charts" className={'flex flex-row flex-wrap justify-evenly gap-0 gap-y-6 px-2 md:gap-8 md:px-6'}>
2222
<div className="">
2323
<Doughnut
2424
title="Commits per Repo"

app/[username]/FollowUp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const FollowUp = ({ follwoup }) => {
2626
const { issues_by_user, pr_by_user, issues_on_user, pr_on_user, login } = follwoup;
2727

2828
return (
29-
<GridContainer name="Follow Up" className={'grid-cols-2 gap-0 gap-y-6 px-2 md:grid-cols-4 md:gap-8 md:px-6'}>
29+
<GridContainer name="Follow Up" className={'flex flex-row flex-wrap justify-evenly gap-0 gap-y-6 px-2 md:gap-8 md:px-6'}>
3030
<div>
3131
<Doughnut
3232
options={{ plugins: { title: { text: `Issues by ${login}` } } }}

0 commit comments

Comments
 (0)