Improve className

This commit is contained in:
Gucheng Wang 2022-10-03 22:45:36 +08:00
parent 6da452d7e0
commit a7324f1da1
2 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@
right: 0; right: 0;
} }
.language_box { .language-box {
background: url("@{StaticBaseUrl}/img/muti_language.svg"); background: url("@{StaticBaseUrl}/img/muti_language.svg");
background-size: 25px, 25px; background-size: 25px, 25px;
background-position: center; background-position: center;
@ -94,7 +94,7 @@
align-items: stretch; align-items: stretch;
} }
.login-content{ .login-content {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: center; justify-content: center;

View File

@ -49,7 +49,7 @@ class SelectLanguageBox extends React.Component {
return ( return (
<Dropdown overlay={menu} > <Dropdown overlay={menu} >
<div className="language_box" id={this.props.id} style={this.props.style} /> <div className="language-box" id={this.props.id} style={this.props.style} />
</Dropdown> </Dropdown>
); );
} }