Skip to content

Commit

Permalink
Fix selector conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett committed Nov 18, 2024
1 parent 1ca0c63 commit 3c43aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@react-spectrum/s2/style/style-macro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function createSizingProperty<T extends CSSValue>(values: PropertyValueMa

if (typeof value === 'number') {
let cssValue = value === 0 ? '0px' : fn(value);
return {default: [{[property]: cssValue}, generateName(value)]};
return {default: [{[property]: cssValue}, generateName(value + valueMap.size)]};
}

throw new Error('Invalid sizing value: ' + value);
Expand Down

0 comments on commit 3c43aed

Please sign in to comment.