Skip to content

Commit 9527a88

Browse files
authored
Merge branch 'main' into card-rework
2 parents 34b368b + bd1b16b commit 9527a88

File tree

5 files changed

+29
-24
lines changed

5 files changed

+29
-24
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,8 @@
101101
},
102102
"resolutions": {
103103
"webpack": "^5"
104+
},
105+
"engines": {
106+
"node": "17.5.0"
104107
}
105108
}

src/components/issue/IssuesFromLastRepo.tsx

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -61,29 +61,31 @@ const IssuesFromLastRepo = ({ user }: IssuesFromLastRepoProps) => {
6161
return (
6262
<div className="mt-10">
6363
<h3 className="font-bold text-gray-500 text-lg">Issues from last repo</h3>
64-
<div className="relative">
64+
<div className="flex">
6565
<div
66-
className=" flex overflow-x-auto space-x-4 no-scrollbar scroll-smooth"
66+
className="grid grid-rows-2 grid-flow-col gap-4 flex-1 overflow-x-auto no-scrollbar scroll-smooth"
6767
ref={scrollableElement}
6868
>
6969
{data.issuesFromLastRepo.edges.map(
7070
(issue) => issue && <Issue issue={issue.node} key={issue.node.id} />
7171
)}
7272
</div>
73-
<button
74-
type="button"
75-
className="absolute right-8 bottom-0 mr-4 mt-4"
76-
onClick={() => scrollHorizontally(scrollDirection.Left)}
77-
>
78-
<FaChevronRight className="b-0 w-6 h-6 rotate-180 dark:text-gray-300 bg-gray-300 dark:bg-dark-900 rounded-full p-1 font-bold" />
79-
</button>
80-
<button
81-
type="button"
82-
className="absolute right-0 bottom-0 mr-4 mt-4"
83-
onClick={() => handleScrollRight()}
84-
>
85-
<FaChevronRight className="b-0 w-6 h-6 dark:text-gray-300 bg-gray-300 dark:bg-dark-900 rounded-full p-1 font-bold" />
86-
</button>
73+
<div className="flex flex-col ml-2 h-full">
74+
<button
75+
type="button"
76+
className=" right-8 bottom-0 mr-4 mt-4"
77+
onClick={() => scrollHorizontally(scrollDirection.Left)}
78+
>
79+
<FaChevronRight className="b-0 w-6 h-6 rotate-180 dark:text-gray-300 bg-gray-300 dark:bg-dark-900 rounded-full p-1 font-bold" />
80+
</button>
81+
<button
82+
type="button"
83+
className=" right-0 bottom-0 mr-4 mt-4"
84+
onClick={() => handleScrollRight()}
85+
>
86+
<FaChevronRight className="b-0 w-6 h-6 dark:text-gray-300 bg-gray-300 dark:bg-dark-900 rounded-full p-1 font-bold" />
87+
</button>
88+
</div>
8789
</div>
8890
<style jsx>
8991
{`

src/components/issue/IssuesFromRecentRepo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const IssuesFromRecentRepos = ({ user }: IssuesFromRecentReposProps) => {
4242
<h3 className="font-bold text-gray-500 text-lg">
4343
Issues from other recent repos
4444
</h3>
45-
<div className="grid grid-cols-2 xl:grid-cols-2 gap-4 mt-4">
45+
<div className="grid grid-cols-1 xl:grid-cols-1 gap-4 mt-4">
4646
{data.issuesFromOtherRecentRepos.edges.map(
4747
(issue) => issue && <Issue issue={issue.node} key={issue.node.id} />
4848
)}

src/components/issue/RelevantIssues.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const RelevantIssues = ({ user }: RelevantIssuesProps) => {
3838
return (
3939
<div className="mt-10">
4040
<h3 className="font-bold text-gray-500 text-lg">Explore New Issues</h3>
41-
<div className="grid grid-cols-2 xl:grid-cols-2 gap-4 mt-4">
41+
<div className="grid grid-cols-1 xl:grid-cols-1 gap-4 mt-4">
4242
{data.relevantIssues.edges.map(
4343
(issue) => issue && <Issue issue={issue.node} key={issue.node.id} />
4444
)}

yarn.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2099,9 +2099,9 @@
20992099
"@hapi/hoek" "^9.0.0"
21002100

21012101
"@sideway/formula@^3.0.0":
2102-
version "3.0.0"
2103-
resolved "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.0.tgz"
2104-
integrity sha512-vHe7wZ4NOXVfkoRb8T5otiENVlT7a3IAiw7H5M2+GO+9CDgcVUUsX1zalAztCmwyOr2RUTGJdgB+ZvSVqmdHmg==
2102+
version "3.0.1"
2103+
resolved "https://registry.yarnpkg.com/@sideway/formula/-/formula-3.0.1.tgz#80fcbcbaf7ce031e0ef2dd29b1bfc7c3f583611f"
2104+
integrity sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==
21052105

21062106
"@sideway/pinpoint@^2.0.0":
21072107
version "2.0.0"
@@ -12364,9 +12364,9 @@ webpack-virtual-modules@^0.4.1:
1236412364
integrity sha512-8bWq0Iluiv9lVf9YaqWQ9+liNgXSHICm+rg544yRgGYaR8yXZTVBaHZkINZSB2yZSWo4b0F6MIxqJezVfOEAlg==
1236512365

1236612366
webpack@4, "webpack@>=4.43.0 <6.0.0", webpack@^5, webpack@^5.9.0:
12367-
version "5.74.0"
12368-
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.74.0.tgz#02a5dac19a17e0bb47093f2be67c695102a55980"
12369-
integrity sha512-A2InDwnhhGN4LYctJj6M1JEaGL7Luj6LOmyBHjcI8529cm5p6VXiTIW2sn6ffvEAKmveLzvu4jrihwXtPojlAA==
12367+
version "5.76.1"
12368+
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.76.1.tgz#7773de017e988bccb0f13c7d75ec245f377d295c"
12369+
integrity sha512-4+YIK4Abzv8172/SGqObnUjaIHjLEuUasz9EwQj/9xmPPkYJy2Mh03Q/lJfSD3YLzbxy5FeTq5Uw0323Oh6SJQ==
1237012370
dependencies:
1237112371
"@types/eslint-scope" "^3.7.3"
1237212372
"@types/estree" "^0.0.51"

0 commit comments

Comments
 (0)