diff --git a/module/doc/css/view.css b/module/doc/css/view.css index c05fc2bd7c..d4e4b007b8 100644 --- a/module/doc/css/view.css +++ b/module/doc/css/view.css @@ -46,3 +46,4 @@ .overflow-auto {overflow: auto;} .overflow-visible {overflow: visible;} .overflow-hidden {overflow: hidden;} +#mainContent > .panel {margin-bottom: 0; height: calc(100vh - 125px); overflow-y: auto;} diff --git a/module/doc/view/lefttree.html.php b/module/doc/view/lefttree.html.php index 548ba812aa..4509f9db44 100644 --- a/module/doc/view/lefttree.html.php +++ b/module/doc/view/lefttree.html.php @@ -38,7 +38,7 @@ i.btn-info, i.btn-info:hover {border: none; background: #fff; box-shadow: unset; /* css for sidebar */ .sidebar-toggle {flex: 0 0 16px;} .sidebar-toggle > .icon {width: 12px; height: 30px; margin-top: -10px; line-height: 30px; color: #fff; text-align: center; background: #7dcdfe; border-radius: 6px; cursor: pointer; padding-left: 0; padding-top: 0;} -.bottom-btn-tree {position: fixed; width: 150px; bottom: 40px;} +.bottom-btn-tree {position: fixed; bottom: 66px; left: 48px;} .spliter {flex: 0 0 12px;} .spliter-btn {height: 28px; width: 10px; background: #fff; position: absolute; top: 30%; left: -1px; border: 1px solid #D9D9D9; border-radius: 2px;} @@ -82,12 +82,12 @@ js::set('canViewFiles', common::hasPriv('doc', 'showfiles'));
-rawMethod == 'view' and common::hasPriv('doc', 'displaySetting')):?> -
- doc->displaySetting, '', "class='btn btn-info btn-wide iframe' data-width='400px'", true, true);?> -
- +rawMethod == 'view' and common::hasPriv('doc', 'displaySetting')):?> +
+ doc->displaySetting, '', "class='btn btn-info btn-wide iframe' data-width='400px'", true, true);?> +
+