1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 18:30:53 +00:00

change resize bar z-index (#6462)

This commit is contained in:
Michael An
2024-08-02 12:37:58 +08:00
committed by GitHub
parent e099dee576
commit f50ba4c5f9
4 changed files with 4 additions and 9 deletions

View File

@@ -3,7 +3,6 @@
width: 6px;
position: absolute;
top: 0;
z-index: 8;
opacity: 0;
transition-duration: .2s;
transition-property: opacity;

View File

@@ -1,5 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { RESIZE_BAR } from '../../constants/zIndexes';
import './index.css';
function ResizeBar(props) {
@@ -7,7 +8,7 @@ function ResizeBar(props) {
<div
className="resize-bar"
ref={props.resizeBarRef}
style={props.resizeBarStyle}
style={Object.assign({ zIndex: RESIZE_BAR }, props.resizeBarStyle)}
onMouseDown={props.onResizeMouseDown}
onMouseOver={props.onResizeMouseOver}
>