Skip to content

Commit 8d8b8a3

Browse files
committed
column ordering
1 parent ae7eb7b commit 8d8b8a3

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docs/snippets/CurrentPricesTable.jsx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -331,23 +331,23 @@ export const CurrentPricesTable = () => {
331331
<tr style={{ backgroundColor: '#f5f5f5' }}>
332332
<th
333333
style={{
334-
padding: '8px 10px',
335-
textAlign: 'right',
334+
padding: '8px 6px 8px 0',
335+
textAlign: 'left',
336336
border: '1px solid #ddd',
337337
fontSize: '0.9em',
338338
}}
339339
>
340-
Current Price
340+
Product
341341
</th>
342342
<th
343343
style={{
344-
padding: '8px 6px 8px 0',
345-
textAlign: 'left',
344+
padding: '8px 10px',
345+
textAlign: 'right',
346346
border: '1px solid #ddd',
347347
fontSize: '0.9em',
348348
}}
349349
>
350-
Product
350+
Current Price
351351
</th>
352352
<th
353353
style={{
@@ -390,25 +390,25 @@ export const CurrentPricesTable = () => {
390390
<tr key={productId}>
391391
<td
392392
style={{
393-
padding: '8px 10px',
394-
textAlign: 'right',
393+
padding: '8px 6px 8px 0',
395394
border: '1px solid #ddd',
396-
fontFamily: 'monospace',
397-
fontWeight: '600',
398-
fontSize: '0.85em',
395+
fontWeight: '500',
396+
fontSize: '0.9em',
399397
}}
400398
>
401-
{formatPrice(currentPriceInTokens, currentPriceInUSD)}
399+
{PRODUCT_NAMES[productId]}
402400
</td>
403401
<td
404402
style={{
405-
padding: '8px 6px 8px 0',
403+
padding: '8px 10px',
404+
textAlign: 'right',
406405
border: '1px solid #ddd',
407-
fontWeight: '500',
408-
fontSize: '0.9em',
406+
fontFamily: 'monospace',
407+
fontWeight: '600',
408+
fontSize: '0.85em',
409409
}}
410410
>
411-
{PRODUCT_NAMES[productId]}
411+
{formatPrice(currentPriceInTokens, currentPriceInUSD)}
412412
</td>
413413
<td
414414
style={{

0 commit comments

Comments
 (0)