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:
parent
88dc8d0cac
commit
67780dd73d
@ -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}
|
||||||
|
@ -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;
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user