diff --git a/module/doc/css/view.css b/module/doc/css/view.css index dae15f935d..42feb0f56c 100644 --- a/module/doc/css/view.css +++ b/module/doc/css/view.css @@ -70,3 +70,8 @@ .detail+.detail {padding-top: 0;} .comment-edit-form .form-actions {display: flex;} +#content .detail-content.article-content::-webkit-scrollbar, +#outlineMenu::-webkit-scrollbar {height: 0px; width: 0px; background: transparent;} + +#content .detail-content.article-content::-moz-scrollbar, +#outlineMenu::-moz-scrollbar {height: 0px; width: 0px; background: transparent;} diff --git a/module/doc/js/view.js b/module/doc/js/view.js index cd4a32e3cf..e85a672cc5 100644 --- a/module/doc/js/view.js +++ b/module/doc/js/view.js @@ -210,13 +210,11 @@ $(function() if($history.hasClass('hidden')) { $history.removeClass('hidden'); - $('#outlineMenu').addClass('hidden'); $icon.addClass('text-primary'); } else { $history.addClass('hidden'); - $('#outlineMenu').removeClass('hidden'); $icon.removeClass('text-primary'); } }) @@ -225,7 +223,6 @@ $(function() $('#closeBtn').on('click', function() { $('#history').addClass('hidden'); - $('#outlineMenu').removeClass('hidden'); $('#hisTrigger').removeClass('text-primary'); }) $('#history').find('.btn.pull-right').removeClass('pull-right'); diff --git a/module/doc/view/lefttree.html.php b/module/doc/view/lefttree.html.php index 9670122757..6fb81926c9 100644 --- a/module/doc/view/lefttree.html.php +++ b/module/doc/view/lefttree.html.php @@ -56,6 +56,7 @@ i.btn-info, i.btn-info:hover {border: none; background: #fff; box-shadow: unset; [lang^=zh] #leftBar .selectBox #currentItem {width: 180px;} #leftBar .selectBox #currentItem > .text {overflow: hidden; text-align: left; flex: 0 1 100%;} .dropdown-in-tree {max-height: 293px; overflow-y: auto;} +.before-tree-item {flex: 0 0 14px; margin-right: 5px;} '; $item += '