You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2023/06/14 06:53:40 UTC
[doris-website] branch master updated: (fix) fix styles error (#243)
This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new 50de411bc43 (fix) fix styles error (#243)
50de411bc43 is described below
commit 50de411bc43b05fda85ec27f7438cb4a13e4aa8e
Author: Jeffrey <co...@gmail.com>
AuthorDate: Wed Jun 14 14:53:36 2023 +0800
(fix) fix styles error (#243)
search result layer below the markdown code block makes an error
---
src/components/PageBanner/styles.scss | 13 +++++++++++++
src/scss/components/sidebar.scss | 1 +
2 files changed, 14 insertions(+)
diff --git a/src/components/PageBanner/styles.scss b/src/components/PageBanner/styles.scss
index b2a708fe4ac..9f2cd25732a 100644
--- a/src/components/PageBanner/styles.scss
+++ b/src/components/PageBanner/styles.scss
@@ -91,6 +91,19 @@
}
}
+@media screen and (min-width: 1300px) and (max-width: 1600px) {
+ .banner-section {
+ height: calc(100vh - var(--global-header-height) - 5rem);
+ }
+}
+
+@media (max-width: 1299px) {
+ .banner-section {
+ height: auto;
+ padding: 10rem 5rem;
+ }
+}
+
@media (max-width: 996px) {
.banner-section {
height: auto;
diff --git a/src/scss/components/sidebar.scss b/src/scss/components/sidebar.scss
index 821235add57..6f0e5ec651f 100644
--- a/src/scss/components/sidebar.scss
+++ b/src/scss/components/sidebar.scss
@@ -2,6 +2,7 @@
background-color: var(--global-colors-background);
border-right: none !important;
clip-path: none !important;
+ z-index: 100;
@media (min-width: 997px) {
.sidebar {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org