mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-23 06:13:05 +08:00
Fix the background color leaking from the character widget
This commit is contained in:
parent
77fa859caa
commit
cf4389cd1d
@ -39,13 +39,13 @@ class Character extends React.PureComponent<IProps> {
|
||||
return (
|
||||
<div
|
||||
className={"Character"}
|
||||
style={{ backgroundColor: `var(${qualityColor})` }}
|
||||
onClick={this.props.onClick}
|
||||
>
|
||||
<img
|
||||
className={"Character_Icon"}
|
||||
alt={name}
|
||||
src={`https://paimon.moe/images/characters/${formatAvatarName(name, id)}.png`}
|
||||
style={{ backgroundColor: `var(${qualityColor})` }}
|
||||
/>
|
||||
|
||||
<div className={"Character_Label"}>
|
||||
|
Loading…
Reference in New Issue
Block a user