Skip to content

Commit 33823d2

Browse files
committed
fixes
1 parent 0c534bb commit 33823d2

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

packages/x-charts/src/ChartsLabel/ChartsLabelMark.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ const Root = styled('div', {
6868
alignItems: 'center',
6969
},
7070
[`&.${labelMarkClasses.lineAndMark}`]: {
71-
width: 16,
72-
height: 16,
7371
alignItems: 'center',
7472
},
7573
[`&.${labelMarkClasses.square}`]: {

packages/x-charts/src/ChartsLabel/labelMarkClasses.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ export const labelMarkClasses: ChartsLabelMarkClasses = generateUtilityClasses(
3030
export const useUtilityClasses = (props: ChartsLabelMarkProps) => {
3131
const { type } = props;
3232
const slots = {
33-
root: typeof type === 'function' ? ['root'] : ['root', type === 'line+mark' ? 'lineAndMark' : type],
33+
root:
34+
typeof type === 'function' ? ['root'] : ['root', type === 'line+mark' ? 'lineAndMark' : type],
3435
fill: ['fill'],
3536
};
3637

0 commit comments

Comments
 (0)