Skip to content

Commit

Permalink
Fix drop target indicator showing as a double border on first and las…
Browse files Browse the repository at this point in the history
…t items
  • Loading branch information
SkyLeite committed Jun 22, 2022
1 parent e2e8caf commit 31aebcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const DropTargetIndicator: React.FC<Props> = ({ direction }) => (
className={styles.dropTargetIndicator}
data-testid="comparison-drop-target-indicator"
style={{
[direction.toLowerCase()]: -4
[direction.toLowerCase()]: -2
}}
/>
)
Expand Down
2 changes: 1 addition & 1 deletion webview/src/plots/components/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ $gap: 20px;
position: absolute;
top: 2px;
min-height: 32px;
border: 2px dotted $accent-color;
border-right: 2px dotted $accent-color;
}

.dropIcon {
Expand Down

0 comments on commit 31aebcf

Please sign in to comment.