fix: Show resizable border on long-hover

This commit is contained in:
Tom Moor
2022-04-16 19:22:24 -07:00
parent 5b0a45c159
commit 0b5e48621a

View File

@@ -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;