1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

fix shared item style (#6231)

This commit is contained in:
Michael An
2024-06-20 09:52:03 +08:00
committed by GitHub
parent 646a55b3ec
commit d22d65e5e2
2 changed files with 2 additions and 1 deletions

View File

@@ -138,7 +138,7 @@ class MainSideNav extends React.Component {
}
height = this.adminHeight;
}
let style = {height: height};
let style = { height, opacity: height === 0 ? 0 : 1 };
let linksNavItem = null;
if (canGenerateShareLink) {

View File

@@ -1462,6 +1462,7 @@ a.table-sort-op:hover {
z-index: 2;
}
.side-panel .side-nav .side-nav-con #share-admin-nav .nav-item.active::before,
.side-panel .side-nav .side-nav-con #files-sub-nav .nav-item.active::before {
top: 2px;
height: 24px;