Skip to content

Commit

Permalink
feat(neuron-ui): extend the width of tx type field to 70 px
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY committed Sep 27, 2019
1 parent 530e421 commit 513c7d9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/neuron-ui/src/components/TransactionList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ import { CONFIRMATION_THRESHOLD } from 'utils/const'
const theme = getTheme()
const { semanticColors } = theme

const MIN_CELL_WIDTH = 50

interface FormatTransaction extends State.Transaction {
date: string
}
Expand Down Expand Up @@ -82,8 +80,8 @@ const TransactionList = ({
name: t('history.type'),
key: 'type',
fieldName: 'type',
minWidth: MIN_CELL_WIDTH,
maxWidth: 50,
minWidth: 70,
maxWidth: 70,
onRender: (item?: FormatTransaction) => {
if (!item) {
return null
Expand Down

0 comments on commit 513c7d9

Please sign in to comment.