This is an automated email from the ASF dual-hosted git repository.

russellspitzer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-docs.git


The following commit(s) were added to refs/heads/main by this push:
     new de2b1a32 Docs: Hide Sidebar only when Hamburger is visible
de2b1a32 is described below

commit de2b1a3237e6d493b59b9698e42058b0b66c58a2
Author: InvisibleProgrammer <[email protected]>
AuthorDate: Fri Jan 13 16:50:44 2023 +0100

    Docs: Hide Sidebar only when Hamburger is visible
---
 iceberg-theme/static/css/iceberg-theme.css | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/iceberg-theme/static/css/iceberg-theme.css 
b/iceberg-theme/static/css/iceberg-theme.css
index 43dcf586..2909538d 100644
--- a/iceberg-theme/static/css/iceberg-theme.css
+++ b/iceberg-theme/static/css/iceberg-theme.css
@@ -370,9 +370,9 @@ i.fa.fa-chevron-down {
     }
   }
 
-@media screen and (max-width: 1280px) {
-    div.sidebar { display: none; }  /* Hide the sidebar if the page is less 
than 1280px */
-  }
+@media screen and (max-width: 768px) {
+    div.sidebar { display: none; }  /* Hide the sidebar if the page is less 
than 768px. It will be available from a hamburger menu */
+}
 
 /* Style for the hint shortcode */
 .info, .success, .warning, .error {

Reply via email to