A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
feat: change side nav max height
shuai4f5a186267b2
diff --git a/ui/src/components/SideNav/index.scss b/ui/src/components/SideNav/index.scssindex a147e390..f17c0ba7 100644--- a/ui/src/components/SideNav/index.scss+++ b/ui/src/components/SideNav/index.scss@@ -5,7 +5,8 @@width: auto;top: 62px;box-sizing: border-box;- max-height: calc(100vh - 74px - 62px - 24px);+ max-height: calc(100vh - 62px);+ // max-height: calc(100% - 62px - 74px - 24px);overflow-y: auto;margin-bottom: 8px;}@@ -36,6 +37,9 @@@media screen and (max-width: 991.9px) {#sideNav {+ // .nav-wrap {+ // max-height: fit-content;+ // }.nav {max-width: 100%;}