diff --git a/src/components/DecimalCapacity/index.tsx b/src/components/DecimalCapacity/index.tsx index 70009aba6..bca30f14e 100644 --- a/src/components/DecimalCapacity/index.tsx +++ b/src/components/DecimalCapacity/index.tsx @@ -1,5 +1,7 @@ +import classNames from 'classnames' import i18n from '../../utils/i18n' import { DecimalPanel, DecimalPartPanel, DecimalZerosPanel } from './styled' +import styles from './styles.module.scss' export default ({ value, @@ -34,7 +36,7 @@ export default ({ return ( - {integer} + {integer} (props.marginBottom ? props.marginBottom : '1px')}; font-size: ${(props: { fontSize?: string; color?: string; marginBottom: string }) => - props.fontSize ? props.fontSize : '12px'}; + props.fontSize ? props.fontSize : '14px'}; color: ${(props: { color?: string }) => (props.color ? props.color : '#999999')}; @media (max-width: 1000px) { @@ -40,7 +40,7 @@ export const DecimalPartPanel = styled.div` export const DecimalZerosPanel = styled.div` margin-bottom: ${(props: { marginBottom: string }) => (props.marginBottom ? props.marginBottom : '1px')}; font-size: ${(props: { fontSize?: string; color?: string; marginBottom: string }) => - props.fontSize ? props.fontSize : '12px'}; + props.fontSize ? props.fontSize : '14px'}; color: ${(props: { color?: string }) => (props.color ? props.color : '#999999')}; @media (max-width: 1000px) { diff --git a/src/components/DecimalCapacity/styles.module.scss b/src/components/DecimalCapacity/styles.module.scss new file mode 100644 index 000000000..7d18ea543 --- /dev/null +++ b/src/components/DecimalCapacity/styles.module.scss @@ -0,0 +1,3 @@ +.intergerPart { + font-size: 16px; +} diff --git a/src/pages/Transaction/TransactionComp/TransactionLite/TransactionBadge.module.scss b/src/pages/Transaction/TransactionComp/TransactionLite/TransactionBadge.module.scss index a6512746d..0a48cc3a4 100644 --- a/src/pages/Transaction/TransactionComp/TransactionLite/TransactionBadge.module.scss +++ b/src/pages/Transaction/TransactionComp/TransactionLite/TransactionBadge.module.scss @@ -1,6 +1,8 @@ .transactionBadge { font-size: 12px; - padding: 1px 8px; + height: 24px; + line-height: 24px; + padding: 0 8px; border-radius: 4px; border: 1px solid #b0cbfc; diff --git a/src/pages/Transaction/TransactionComp/TransactionLite/TransactionLite.module.scss b/src/pages/Transaction/TransactionComp/TransactionLite/TransactionLite.module.scss index 49e0d20f3..f32d54c23 100644 --- a/src/pages/Transaction/TransactionComp/TransactionLite/TransactionLite.module.scss +++ b/src/pages/Transaction/TransactionComp/TransactionLite/TransactionLite.module.scss @@ -72,7 +72,6 @@ &:first-child { text-align: left; - font-size: 16px; color: #333; }