Skip to content

Commit 051f0b2

Browse files
committed
fix
1 parent 2f97edb commit 051f0b2

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

app/coins/[id]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ const CoinDetails = async ({ params }: { params: Promise<{ id: string }> }) => {
288288
{ticker.market.name}
289289
</Link>
290290
</TableCell>
291-
<TableCell className='font-medium truncate max-w-[100px] py-4 pr-5'>
291+
<TableCell className='font-medium truncate max-w-[100%] py-4 pr-5'>
292292
{ticker.base} / {ticker.target}
293293
</TableCell>
294294
<TableCell className='font-medium'>

app/coins/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const Coins = async ({
7373
width={36}
7474
height={36}
7575
/>
76-
<p>
76+
<p className='max-w-[100%] truncate'>
7777
{coin.name} ({coin.symbol.toUpperCase()})
7878
</p>
7979
</div>

app/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const Home = async () => {
7070
<TableHead className='pl-4 md:pl-5 py-3 text-purple-100'>
7171
Name
7272
</TableHead>
73-
<TableHead className='text-purple-100 hidden sm:table-cell'>
73+
<TableHead className='text-purple-100 table-cell'>
7474
24h Change
7575
</TableHead>
7676
<TableHead className='pr-4 md:pr-5 text-purple-100'>
@@ -110,7 +110,7 @@ const Home = async () => {
110110
</div>
111111
</Link>
112112
</TableCell>
113-
<TableCell className='font-medium py-4 pr-3 md:pr-5 hidden sm:table-cell'>
113+
<TableCell className='font-medium py-4 pr-3 md:pr-5 table-cell'>
114114
<div
115115
className={cn(
116116
'flex gap-1 items-center text-sm font-medium',
@@ -129,7 +129,7 @@ const Home = async () => {
129129
)}
130130
</div>
131131
</TableCell>
132-
<TableCell className='font-bold pr-5 text-sm max-w-[100px] truncate'>
132+
<TableCell className='font-bold pr-5 text-sm max-w-[100%] truncate'>
133133
{formatPrice(item.data.price)}
134134
</TableCell>
135135
</TableRow>

0 commit comments

Comments
 (0)