diff --git a/.eslintrc.js b/.eslintrc.js index dbe7d4d3..30e47107 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -27,6 +27,7 @@ module.exports = { devDependencies: ['**/tests/**.js', '/mock/**/**.js', '**/**.test.js'], }, ], + 'import/no-cycle': 0, 'jsx-a11y/no-noninteractive-element-interactions': 0, 'jsx-a11y/click-events-have-key-events': 0, 'jsx-a11y/no-static-element-interactions': 0, diff --git a/src/components/Exception/index.less b/src/components/Exception/index.less index 45a2844b..5393bb71 100644 --- a/src/components/Exception/index.less +++ b/src/components/Exception/index.less @@ -13,8 +13,8 @@ zoom: 1; &::before, &::after { - content: ' '; display: table; + content: ' '; } &::after { clear: both; diff --git a/src/components/SettingDrawer/index.less b/src/components/SettingDrawer/index.less index bb64b079..06548788 100644 --- a/src/components/SettingDrawer/index.less +++ b/src/components/SettingDrawer/index.less @@ -63,8 +63,8 @@ right: 300px; z-index: 0; display: flex; - justify-content: center; align-items: center; + justify-content: center; width: 48px; height: 48px; font-size: 16px; diff --git a/src/utils/utils.less b/src/utils/utils.less index 7be54ba5..de1aa642 100644 --- a/src/utils/utils.less +++ b/src/utils/utils.less @@ -38,8 +38,8 @@ zoom: 1; &::before, &::after { - content: ' '; display: table; + content: ' '; } &::after { clear: both;