Skip to content

Commit c2a72af

Browse files
Merge pull request #40 from harishdeivanayagam/feature/public-apis-docs
fix: layout nav text
2 parents 191d10c + 5a62322 commit c2a72af

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)