1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-25 10:11:24 +00:00

12.0 fix left nav tooltip z-index and cursor style (#6381)

* 01 delete useless z-index

* 02 change tooltip cursor style
This commit is contained in:
Michael An 2024-07-19 12:10:07 +08:00 committed by GitHub
parent 88dc8d0cac
commit 67780dd73d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 1 deletions

View File

@ -22,6 +22,7 @@ function SideNavIconTip(props) {
return ( return (
<Tooltip <Tooltip
popperClassName={'side-nav-icon-tip-popover'}
innerClassName={showAnimation ? 'side-nav-icon-tip side-nav-icon-tip-animation' : 'side-nav-icon-tip'} innerClassName={showAnimation ? 'side-nav-icon-tip side-nav-icon-tip-animation' : 'side-nav-icon-tip'}
toggle={toggleTooltip} toggle={toggleTooltip}
hideArrow={true} hideArrow={true}

View File

@ -7,7 +7,6 @@
background-color: #fff; background-color: #fff;
position: absolute; position: absolute;
top: 48px; top: 48px;
z-index: 2;
width: 100%; width: 100%;
height: calc(100% - 48px); height: calc(100% - 48px);
border-top: 1px solid #e8e8e8; border-top: 1px solid #e8e8e8;

View File

@ -1,3 +1,7 @@
.side-nav-icon-tip-popover {
cursor: pointer;
}
.side-nav-icon-tip { .side-nav-icon-tip {
opacity: 0; opacity: 0;
transform: translateX(-20px); transform: translateX(-20px);