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 6958d981ea1 [fix](docs): fix search bar disappear bug while the screen 
< 1366px (#1134)
6958d981ea1 is described below

commit 6958d981ea1a74c60fd42b1557e3a1e9d3b6ec5d
Author: Jeffrey <color.d...@gmail.com>
AuthorDate: Tue Sep 24 11:22:56 2024 +0900

    [fix](docs): fix search bar disappear bug while the screen < 1366px (#1134)
    
    fix search bar disappear bug while the screen < 1366px
    
    
    
![image](https://github.com/user-attachments/assets/67be6ba9-f8fe-4b5a-90b3-182e4bf156a4)
---
 src/scss/components/navbar.scss            | 2 +-
 src/theme/Navbar/Content/styles.module.css | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/scss/components/navbar.scss b/src/scss/components/navbar.scss
index 760236e656b..9b4cf22aeec 100644
--- a/src/scss/components/navbar.scss
+++ b/src/scss/components/navbar.scss
@@ -309,7 +309,7 @@
     }
 }
 
-@media screen and (max-width: 1366px) {
+@media screen and (max-width: 996px) {
     .navbar {
         height: 3.75rem;
         &.docs,
diff --git a/src/theme/Navbar/Content/styles.module.css 
b/src/theme/Navbar/Content/styles.module.css
index ac1434c4377..fddcddee745 100644
--- a/src/theme/Navbar/Content/styles.module.css
+++ b/src/theme/Navbar/Content/styles.module.css
@@ -8,7 +8,7 @@ Hide color mode toggle in small viewports
   
 }
 
-@media (max-width: 1366px) {
+@media (max-width: 996px) {
   .navbarLeftToc {
     display:none;
     align-items: center;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to