File tree 2 files changed +22
-3
lines changed
packages/web3/src/connect-modal/style
2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @ant-design/web3 " : patch
3
+ ---
4
+
5
+ fix: ConnectModal PluginTag hover error
Original file line number Diff line number Diff line change @@ -174,9 +174,23 @@ const getThemeStyle = (token: ConnectModalToken): CSSInterpolation => {
174
174
} ,
175
175
'&:hover' : {
176
176
background : token . hoverBg ,
177
- [ `${ componentCls } -plugin-tag:not(:disabled)` ] : {
178
- color : token . colorPrimary ,
179
- borderColor : token . colorPrimary ,
177
+ [ `&:has(${ componentCls } -qr-btn:not(:hover))` ] : {
178
+ [ `${ componentCls } -plugin-tag:not(:disabled)` ] : {
179
+ color : token . colorPrimary ,
180
+ borderColor : token . colorPrimary ,
181
+ } ,
182
+ } ,
183
+ [ `&:not(:has(${ componentCls } -plugin-tag))` ] : {
184
+ [ `${ componentCls } -qr-btn` ] : {
185
+ color : token . colorPrimary ,
186
+ borderColor : token . colorPrimary ,
187
+ } ,
188
+ } ,
189
+ [ `&:has(${ componentCls } -plugin-tag:disabled)` ] : {
190
+ [ `${ componentCls } -qr-btn` ] : {
191
+ color : token . colorPrimary ,
192
+ borderColor : token . colorPrimary ,
193
+ } ,
180
194
} ,
181
195
} ,
182
196
'&.selected' : {
You can’t perform that action at this time.
0 commit comments