1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +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) {