Skip to content

Commit 8d80ab6

Browse files
authored
Merge pull request #2256 from pie-framework/fix/PIE-662
fix(editable-html-tip-tap): explicitly set SVG icon in toolbar button…
2 parents 2e74685 + 22166de commit 8d80ab6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/editable-html-tip-tap/src/components/common/toolbar-buttons.jsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ const StyledButton = styled('button', {
1212
background: 'none',
1313
border: 'none',
1414
cursor: disabled ? 'not-allowed' : 'pointer',
15+
// previously we had implicit 24×24 icon rendering for mui svg icons, but now we need to explicitly set the size to 24×24 to match the previous behavior
16+
'& svg': {
17+
width: '24px',
18+
height: '24px',
19+
},
1520
'&:hover': {
1621
color: disabled ? 'grey' : 'black',
1722
},

0 commit comments

Comments
 (0)