Skip to content

Commit 513c7d9

Browse files
committed
feat(neuron-ui): extend the width of tx type field to 70 px
1 parent 530e421 commit 513c7d9

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

  • packages/neuron-ui/src/components/TransactionList

packages/neuron-ui/src/components/TransactionList/index.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ import { CONFIRMATION_THRESHOLD } from 'utils/const'
2828
const theme = getTheme()
2929
const { semanticColors } = theme
3030

31-
const MIN_CELL_WIDTH = 50
32-
3331
interface FormatTransaction extends State.Transaction {
3432
date: string
3533
}
@@ -82,8 +80,8 @@ const TransactionList = ({
8280
name: t('history.type'),
8381
key: 'type',
8482
fieldName: 'type',
85-
minWidth: MIN_CELL_WIDTH,
86-
maxWidth: 50,
83+
minWidth: 70,
84+
maxWidth: 70,
8785
onRender: (item?: FormatTransaction) => {
8886
if (!item) {
8987
return null

0 commit comments

Comments
 (0)