From 3fe55c479fb213ee9f0d1a8fc36f35c3f163d41f Mon Sep 17 00:00:00 2001 From: Hao Sun Date: Thu, 29 Jul 2021 15:05:03 +0800 Subject: [PATCH] * improve style for doc page. --- module/doc/css/objectlibs.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/doc/css/objectlibs.css b/module/doc/css/objectlibs.css index 0058d51232..db33372266 100644 --- a/module/doc/css/objectlibs.css +++ b/module/doc/css/objectlibs.css @@ -13,14 +13,14 @@ .main-col .doc-title .info {flex: 1 1 0;} .main-col .doc-title .version a {font-size: 13px; color: #8c8c8c;} .main-col .doc-title .version .dropdown-menu a:hover {color: #ffffff;} -.main-col .doc-title .actions a {margin-right: 8px;} +.main-col .doc-title .actions a + a {margin-left: 8px;} .main-col .doc-title .actions i {font-size: 15px; color: #8c8c8c;} #content .title {max-width: 54%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;} #mainContent .scrollbar-hover {max-height: 2000px; overflow: scroll;} #sidebar {width: 275px;} #sidebar>.cell {width: 100%;} #sidebar>.sidebar-toggle {left: 3px; right: auto;} -.hide-sidebar #sidebar>.cell {left: -270px;} +.hide-sidebar #sidebar>.cell {right: -270px; left: auto; display: none;} .hide-sidebar #sidebar>.sidebar-toggle>.icon:before {content: "\e314";} .detail.empty {line-height: 200px;} .main-col+.side-col {padding-left: 16px;}