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 <color.d...@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-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org