File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed
Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -92,14 +92,16 @@ const CoinDetails = async ({ params }: { params: Promise<{ id: string }> }) => {
9292 { ticker . market . name }
9393 </ Link >
9494 </ TableCell >
95- < TableCell className = 'exchange-pair' >
96- < p className = 'truncate max-w-[100px]' >
97- { ticker . base }
98- </ p >
99- /
100- < p className = 'truncate max-w-[100px] ml-2' >
101- { ticker . target }
102- </ p >
95+ < TableCell >
96+ < div className = 'exchange-pair' >
97+ < p className = 'truncate max-w-[100px] h-full' >
98+ { ticker . base }
99+ </ p >
100+ /
101+ < p className = 'truncate max-w-[100px] h-full ml-2' >
102+ { ticker . target }
103+ </ p >
104+ </ div >
103105 </ TableCell >
104106 < TableCell className = 'font-medium' >
105107 { formatPrice ( ticker . converted_last . usd ) }
Original file line number Diff line number Diff line change 271271 }
272272
273273 .exchange-link {
274- @apply py-4 pl-3 block max-w-[110 px ] truncate;
274+ @apply py-4 pl-3 block w-full max-w-[230 px ] truncate whitespace-pre-wrap ;
275275 }
276276
277277 .exchange-pair {
278- @apply font-medium flex py-4 pr-5;
278+ @apply font-medium h-full flex py-4 pr-5;
279279 }
280280
281281 .exchange-timestamp {
You can’t perform that action at this time.
0 commit comments