This is an automated email from the ASF dual-hosted git repository.
kassiez pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/develop by this push:
new 8d29c0185d Fix:search count (#1452)
8d29c0185d is described below
commit 8d29c0185da2060f59c5c058f38321f4635519f8
Author: yangon <[email protected]>
AuthorDate: Wed Dec 4 23:22:52 2024 +0800
Fix:search count (#1452)
Co-authored-by: liyang <[email protected]>
---
docusaurus.config.js | 1 +
src/scss/components/markdown.scss | 3 ---
src/scss/components/navbar.scss | 5 +++++
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 94b5c46ed7..8a86d3e69e 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -255,6 +255,7 @@ const config = {
explicitSearchResultPath: true,
searchBarShortcut: true,
searchBarShortcutHint: true,
+ searchResultLimits: 100
},
],
],
diff --git a/src/scss/components/markdown.scss
b/src/scss/components/markdown.scss
index 3c53ccbaa1..1945ab4484 100644
--- a/src/scss/components/markdown.scss
+++ b/src/scss/components/markdown.scss
@@ -125,9 +125,6 @@
margin-top: calc(var(--custom-leading) *
var(--custom-heading-rhythm-top));
}
- h1,
- h2,
- h3,
h4 {
margin-top: calc(var(--custom-leading) *
var(--custom-h4-rhythm-bottom));
}
diff --git a/src/scss/components/navbar.scss b/src/scss/components/navbar.scss
index d1d550013a..a9700af9bd 100644
--- a/src/scss/components/navbar.scss
+++ b/src/scss/components/navbar.scss
@@ -73,6 +73,11 @@
border: none !important;
outline: none !important;
}
+ .navbar__search span span {
+ max-height: 580px !important;
+ overflow: scroll !important;
+ top: 2.5rem !important;
+ }
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]