Skip to content

Commit

Permalink
Fix font size of detailed balances
Browse files Browse the repository at this point in the history
  • Loading branch information
samchuk-vlad committed Feb 7, 2024
1 parent c924a90 commit 67c99c8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ export const parseBalancesTableInfo = ({
)

return {
key,
key: `detailed-balances-${key}`,
chain: (
<div
style={{ marginLeft: isMulti ? '5rem' : '3rem' }}
Expand Down
9 changes: 6 additions & 3 deletions src/components/table/customCard/BalancesCard.module.sass
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,13 @@
font-weight: 400 !important
line-height: 24px !important

.ChidrenChainName
font-size: 12px
font-weight: 400
.DetailedBalances
font-size: 12px !important
font-weight: 400 !important
line-height: 24px
color: $color_gray

.ChidrenChainName

div:first-child
margin-left: 0px !important
Expand Down
2 changes: 1 addition & 1 deletion src/components/table/customCard/BalancesSectionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ const InnerChildrenBalances = <T extends TableInfo>({
>
<span
className={clsx(styles.ChidrenChainName, {
['GrayText']: isDetailedBalances,
[styles.DetailedBalances]: isDetailedBalances,
[styles.ChainName]: !isDetailedBalances
})}
>
Expand Down

0 comments on commit 67c99c8

Please sign in to comment.