Skip to content

Commit 9a19e03

Browse files
authored
fix(ui): navbar responsiveness (#2863)
1 parent eb829ab commit 9a19e03

File tree

1 file changed

+1
-2
lines changed
  • apps/web/client/src/app/_components/top-bar

1 file changed

+1
-2
lines changed

apps/web/client/src/app/_components/top-bar/github.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
'use client';
22

33
import { Icons } from '@onlook/ui/icons';
4-
import Link from 'next/link';
54
import { useEffect, useState } from 'react';
65

76
const DEFAULT_STAR_COUNT = 20550;
@@ -59,7 +58,7 @@ export function GitHubButton() {
5958
return (
6059
<a href="https://github.com/onlook-dev/onlook" className="flex items-center gap-1.5 text-small hover:opacity-80" target="_blank" rel="noopener noreferrer">
6160
<Icons.GitHubLogo className="h-5 w-5" />
62-
<span className="transition-all duration-300">{formatted}</span>
61+
<span className="transition-all duration-300 hidden sm:block">{formatted}</span>
6362
</a>
6463
);
6564
}

0 commit comments

Comments
 (0)