Skip to content

Commit 5a62322

Browse files
fix: layout nav text
1 parent 1b95267 commit 5a62322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/console/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default function ConsoleLayoutContent({ children }: { children: React.Rea
7979
{sheets.map((sheet) => (
8080
<button
8181
onClick={() => router.push(`/console/sheets/${sheet.id}`)}
82-
className={`py-2 px-2 rounded-md flex gap-2 items-center justify-start hover:bg-gray-200 transition-all ${pathname.includes(sheet.id) ? 'bg-gray-200' : ''}`}
82+
className={`py-2 px-2 max-w-[200px] overflow-hidden text-ellipsis rounded-md flex gap-2 items-center justify-start hover:bg-gray-200 transition-all ${pathname.includes(sheet.id) ? 'bg-gray-200' : ''}`}
8383
key={sheet.id}
8484
>
8585
<PiTableBold className="text-lg font-bold" />

0 commit comments

Comments
 (0)