This is an automated email from the ASF dual-hosted git repository.
likeguo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu-dashboard.git
The following commit(s) were added to refs/heads/master by this push:
new 444dd1e1 Document page left navigation bar style optimization (#321)
444dd1e1 is described below
commit 444dd1e14883dc8b58c1e0fb8df0575ac6234253
Author: Kerwin Bryant <[email protected]>
AuthorDate: Tue Aug 22 09:51:34 2023 +0800
Document page left navigation bar style optimization (#321)
---
src/index.less | 5 ++++-
src/routes/Document/components/SearchApi.js | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/index.less b/src/index.less
index 60389ec1..62a02cd8 100644
--- a/src/index.less
+++ b/src/index.less
@@ -111,9 +111,12 @@ body {
// temp fix for
https://github.com/ant-design/ant-design/commit/a1fafb5b727b62cb0be29ce6e9eca8f579d4f8b7
:global {
+ .ant-spin-nested-loading {
+ overflow: auto;
+ }
+
.ant-spin-container {
overflow: visible !important;
- box-shadow: 1px 2px 2px rgba(191, 189, 189, 0.5);
}
.global-spin {
diff --git a/src/routes/Document/components/SearchApi.js
b/src/routes/Document/components/SearchApi.js
index bcfe2da7..f078a5cb 100644
--- a/src/routes/Document/components/SearchApi.js
+++ b/src/routes/Document/components/SearchApi.js
@@ -243,7 +243,7 @@ const SearchApi = React.forwardRef((props, ref) => {
}, []);
return (
- <div style={{ overflow: "auto" }}>
+ <div>
{treeData?.length ? (
<Spin spinning={loading}>
<Tree