fix: Show resizable border on long-hover
This commit is contained in:
@@ -4,9 +4,24 @@ const ResizeBorder = styled.div`
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: -6px;
|
||||
width: 12px;
|
||||
right: -1px;
|
||||
width: 2px;
|
||||
cursor: col-resize;
|
||||
|
||||
&:hover {
|
||||
transition-delay: 500ms;
|
||||
transition: background 250ms ease-in-out;
|
||||
background: ${(props) => props.theme.sidebarActiveBackground};
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: -4px;
|
||||
width: 10px;
|
||||
}
|
||||
`;
|
||||
|
||||
export default ResizeBorder;
|
||||
|
||||
Reference in New Issue
Block a user