"isolate opacity change to format balance error text" (#4484)
* lighter read to make it more readable on dark mode * added missing themeprops ref * ran linter * undo opacity 1 on non red 'other stake' to keep the focus on the whle number' * ran linter * isolate opacity change to format balance error text
This commit is contained in:
parent
311c151211
commit
81935050ec
@ -206,6 +206,12 @@ export default React.memo(styled(StakingApp)(({ theme }: ThemeProps) => `
|
||||
${theme.theme === 'dark'
|
||||
? `
|
||||
font-weight: bold;
|
||||
.ui--FormatBalance-value {
|
||||
|
||||
> .ui--FormatBalance-postfix {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
`
|
||||
: ''};
|
||||
|
||||
|
||||
@ -122,7 +122,7 @@ export default React.memo(styled(FormatBalance)(({ theme }: ThemeProps) => `
|
||||
|
||||
> .ui--FormatBalance-postfix {
|
||||
font-weight: ${theme.fontWeightLight};
|
||||
opacity: ${theme.theme === 'light' ? '0.7' : '1'};
|
||||
opacity: 0.7;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user