From 5ab4b30670393f42f2215532493f87a8b6c08d13 Mon Sep 17 00:00:00 2001 From: jamestang <30999642+tangjie-93@users.noreply.github.com> Date: Tue, 26 Apr 2022 15:54:44 +0800 Subject: [PATCH] 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 a459b9432..29ae98605 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 ce9bc2e26..7aa96ab26 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 7d8fb3b3b..b50f57ef6 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;