Skip to content

Commit

Permalink
[frontend] Fix mouse cursor disappearing (#1658)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimfacion authored Oct 18, 2024
1 parent 7f3f846 commit 4f02983
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openbas-front/src/components/ChainedTimeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ const ChainedTimelineFlow: FunctionComponent<Props> = ({
return (
<>
{injects.length > 0 ? (
<div className={classes.container} style={{ width: '100%', height: 510 }}>
<div className={`${classes.container} chainedTimeline`} style={{ width: '100%', height: 510 }}>
<ReactFlow
colorMode={theme.palette.mode}
nodes={nodes}
Expand Down
2 changes: 1 addition & 1 deletion openbas-front/src/static/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ input[type="file"] {
border: 1px solid #b5b7ba;
}

.react-flow__pane.draggable:not(.react-flow__pane.draggable.dragging, :has(.react-flow__connection)) {
.chainedTimeline .react-flow__pane.draggable:not(.react-flow__pane.draggable.dragging, :has(.react-flow__connection)) {
cursor: none !important;
}

Expand Down

0 comments on commit 4f02983

Please sign in to comment.