You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by ji...@apache.org on 2022/05/06 14:34:34 UTC

[incubator-hugegraph-doc] 11/26: style:sidebar and layout style modify (#106)

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

jin pushed a commit to branch website
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git

commit cfb3a509935d5993e177aa62675b5913d747174c
Author: jamestang <30...@users.noreply.github.com>
AuthorDate: Tue Apr 26 15:54:44 2022 +0800

    style:sidebar and layout style modify (#106)
---
 themes/docsy/assets/scss/_sidebar-tree.scss               | 2 +-
 themes/docsy/assets/scss/support/_utilities.scss          | 2 +-
 themes/docsy/assets/vendor/bootstrap/scss/_variables.scss | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/themes/docsy/assets/scss/_sidebar-tree.scss b/themes/docsy/assets/scss/_sidebar-tree.scss
index a459b94..29ae986 100644
--- a/themes/docsy/assets/scss/_sidebar-tree.scss
+++ b/themes/docsy/assets/scss/_sidebar-tree.scss
@@ -8,7 +8,7 @@
 
     @include media-breakpoint-up(md) {
         @supports (position: sticky) {
-            max-height: calc(100vh - 10rem);
+            max-height: calc(100vh - 6rem);
             overflow-y: auto;
         }
     }
diff --git a/themes/docsy/assets/scss/support/_utilities.scss b/themes/docsy/assets/scss/support/_utilities.scss
index ce9bc2e..7aa96ab 100644
--- a/themes/docsy/assets/scss/support/_utilities.scss
+++ b/themes/docsy/assets/scss/support/_utilities.scss
@@ -76,7 +76,7 @@
 
 .td-max-width-on-larger-screens {
     @include media-breakpoint-up(lg) {
-        max-width: 80%;
+        max-width: 100%;
     }
 
 }
\ No newline at end of file
diff --git a/themes/docsy/assets/vendor/bootstrap/scss/_variables.scss b/themes/docsy/assets/vendor/bootstrap/scss/_variables.scss
index 7d8fb3b..b50f57e 100644
--- a/themes/docsy/assets/vendor/bootstrap/scss/_variables.scss
+++ b/themes/docsy/assets/vendor/bootstrap/scss/_variables.scss
@@ -757,7 +757,7 @@ $navbar-dark-brand-hover-color:           $navbar-dark-active-color !default;
 //
 // Dropdown menu container and contents.
 
-$dropdown-min-width:                10rem !default;
+$dropdown-min-width:                8rem !default;
 $dropdown-padding-x:                0 !default;
 $dropdown-padding-y:                .5rem !default;
 $dropdown-spacer:                   .125rem !default;