diff --git a/.eslintrc.js b/.eslintrc.js index f8d67ff99aeb61aca8b05120062fa532c307775f..d92c54f4de0d79c7596f21b7e3a4354789a0f74f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -24,6 +24,7 @@ module.exports = { 'jsx-a11y/click-events-have-key-events': 0, 'jsx-a11y/no-static-element-interactions': 0, 'jsx-a11y/anchor-is-valid': 0, + 'linebreak-style': 0, }, settings: { polyfills: ['fetch', 'promises', 'url'], diff --git a/src/components/Login/index.less b/src/components/Login/index.less index e94adc479f71d9d762ea6c5b2a3d886d37d2c259..995b68d27a2795e2371a963228e32023fd6d38b2 100644 --- a/src/components/Login/index.less +++ b/src/components/Login/index.less @@ -9,7 +9,7 @@ } .ant-form-item { - margin-bottom: 24px; + margin: 0 2px 24px; } } diff --git a/src/components/SiderMenu/SiderMenu.js b/src/components/SiderMenu/SiderMenu.js index e457f2f5b6f12524b26c112302e2e6c0cbe91f67..2d366b9ba04b3a4bbbae3d014cf5af4aa7e2dd85 100644 --- a/src/components/SiderMenu/SiderMenu.js +++ b/src/components/SiderMenu/SiderMenu.js @@ -118,7 +118,7 @@ export default class SiderMenu extends PureComponent { mode="inline" handleOpenChange={this.handleOpenChange} onOpenChange={this.handleOpenChange} - style={{ padding: '16px 0', width: '100%' }} + style={{ padding: '16px 0', width: '100%', overflowX: 'hidden' }} {...defaultProps} />