Commit b25af76e authored by Joe's avatar Joe

css

parent 042cdaa5
......@@ -2,7 +2,7 @@
"en-US": {
"title":"MoeCube",
"Home":"Home",
"BBS":"Community",
"BBS":"BBS",
"DATABASE":"DataBase",
"username": "User Name",
"email": "E-Mail",
......@@ -96,7 +96,7 @@
"title":"萌立方",
"Home":"主页",
"BBS":"社区",
"DATABASE":"决斗数据库",
"DATABASE":"数据库",
"username": "用户名",
"email": "邮箱",
"password": "密码",
......
......@@ -165,11 +165,11 @@ function Index({ children, messages, dispatch, client, language }) {
defaultSelectedKeys={['1']}
style={{ lineHeight: '64px' }}
>
<Menu.Item key="1">
{/*<Menu.Item key="1">
<Link to="/">
<Format id="Home"/>
</Link>
</Menu.Item>
</Menu.Item>*/}
<Menu.Item key="2">
<Link href="https://ygobbs.com/">
<Format id="BBS"/>
......
......@@ -107,7 +107,7 @@ class Profiles extends React.Component {
<Form onSubmit={this.onUpdateSubmit}>
<FormItem style={{ display: 'flex', justifyContent: 'center' }}>
<div style={{ display: isUpload ? 'flex' : 'none', flexDirection: 'column' }}>
<div style={{ display: isUpload ? 'flex' : 'none', flexDirection: 'column'}}>
<Cropper
ref={(cropper) => {
this.cropper = cropper;
......@@ -118,6 +118,7 @@ class Profiles extends React.Component {
aspectRatio={1 / 1}
guides
/>
<br/>
<Button type="primary" onClick={this.handleUpload}>
<Icon type="upload"/> <Format id="upload"/>
</Button>
......
......@@ -26,3 +26,4 @@
display: flex;
justify-content: center;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment