File tree 3 files changed +10
-5
lines changed
packages/web3/src/crypto-input
3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @ant-design/web3 ' : patch
3
+ ---
4
+
5
+ fix(crypto-input): fix token style
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ export const CryptoInput: React.FC<CryptoInputProps> = ({
131
131
{ footer !== false && (
132
132
< div className = { getClsName ( 'footer' ) } >
133
133
{ footer || (
134
- < Flex className = { getClsName ( 'total- default-footer' ) } justify = "space-between" >
134
+ < Flex className = { getClsName ( 'default-footer' ) } justify = "space-between" >
135
135
< Typography . Text
136
136
ellipsis = { { tooltip : tokenTotalPrice } }
137
137
className = { getClsName ( 'total-price' ) }
Original file line number Diff line number Diff line change @@ -85,21 +85,21 @@ const getTokenStyle: GenerateStyle<TokenStyle> = (token) => {
85
85
} ,
86
86
87
87
[ `${ componentCls } -footer` ] : {
88
- '. default-footer' : {
88
+ [ ` ${ componentCls } - default-footer` ] : {
89
89
fontWeight : fontWeightStrong ,
90
90
91
- '. total-price' : {
91
+ [ ` ${ componentCls } - total-price` ] : {
92
92
flex : 1 ,
93
93
color : colorTextTertiary ,
94
94
marginInlineEnd : marginSM ,
95
95
} ,
96
96
97
- '. token-balance' : {
97
+ [ ` ${ componentCls } - token-balance` ] : {
98
98
color : colorTextTertiary ,
99
99
flex : '0 0 auto' ,
100
100
} ,
101
101
102
- '. max-button' : {
102
+ [ ` ${ componentCls } - max-button` ] : {
103
103
marginInlineStart : marginXS ,
104
104
color : colorInfoText ,
105
105
} ,
You can’t perform that action at this time.
0 commit comments