Skip to content

Commit 4646c06

Browse files
committed
style: fixed overflowing tooltip
1 parent 3ebfc26 commit 4646c06

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

components/Card.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ function Card({ repo }: Props) {
3737
</h2>
3838
</div>
3939

40-
<h6 className="my-5 text-2023-manga-2 text-lg">{emojify(repo.description)}</h6>
40+
<h6 className="my-5 text-2023-manga-2 text-lg">
41+
{emojify(repo.description)}
42+
</h6>
4143

4244
<div className="card-actions gap-y-3">
4345
{repo.topics.map((topic: string) => (
@@ -112,7 +114,7 @@ function Card({ repo }: Props) {
112114
</div>
113115
<div
114116
id="tooltip"
115-
className="hidden group-hover:block absolute bg-2023-void-2 text-2023-bavarian-gold-2 px-2 py-1 rounded-md"
117+
className="hidden group-hover:block absolute text-sm bg-2023-void-2 text-2023-bavarian-gold-2 px-2 py-1 rounded-md"
116118
>
117119
Checkout all open issues here!
118120
</div>

pages/repos/[language].tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ export const getServerSideProps: GetServerSideProps<Props> = async ctx => {
5656

5757
const repos = await res.json();
5858

59-
console.log(repos);
60-
6159
repos.items = repos.items.filter((repo: RepoItem) => !repo.archived);
6260

6361
if (repos.items.length < 1) {

0 commit comments

Comments
 (0)