Skip to content

Commit

Permalink
Fix cluster color legend scaling issue (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
neesjanvaneck authored Mar 16, 2024
1 parent 678d63b commit 6201349
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ui/ClusterColorLegend/styles.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { css } from '@emotion/css';

export const canvas = (width) => css`
export const canvas = ({ width }) => css`
label: cluster-legend-canvas;
width: ${width};
width: ${width}px;
`;

0 comments on commit 6201349

Please sign in to comment.