From 66e53fb91d57afd4e67dacbee037677479597185 Mon Sep 17 00:00:00 2001 From: afc163 Date: Sat, 21 Mar 2020 22:46:42 +0800 Subject: [PATCH] docs: fix BackTop examples hidden close #22392 --- site/bisheng.config.js | 4 ---- site/theme/static/footer.less | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/site/bisheng.config.js b/site/bisheng.config.js index f5119dcd6f..63a9b71f56 100644 --- a/site/bisheng.config.js +++ b/site/bisheng.config.js @@ -134,10 +134,6 @@ module.exports = { if (isDev) { // eslint-disable-next-line config.devtool = 'source-map'; - - // Resolve use react hook fail when yarn link or npm link - // https://github.com/webpack/webpack/issues/8607#issuecomment-453068938 - config.resolve.alias = { ...config.resolve.alias, react: require.resolve('react') }; } alertBabelConfig(config.module.rules); diff --git a/site/theme/static/footer.less b/site/theme/static/footer.less index ed29f9028d..a935939441 100644 --- a/site/theme/static/footer.less +++ b/site/theme/static/footer.less @@ -2,7 +2,7 @@ @import './colors'; .rc-footer { - z-index: 11; + z-index: 9; &-container { max-width: unset;