Skip to content

Commit 30c3822

Browse files
refactor: remove mobile-specific icon scaling in checkbox formatter
1 parent 2a36acc commit 30c3822

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/CheckboxFormatter/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class CheckboxFormatter extends React.PureComponent {
1818
};
1919

2020
renderIcon = (symbol, color) => {
21-
const className = classnames('dtable-ui-checkbox-check-mark', { 'dtable-ui-checkbox-check-svg': !symbol?.startsWith('dtable-icon'), 'scale-icon-150': isMobile });
21+
const className = classnames('dtable-ui-checkbox-check-mark', { 'dtable-ui-checkbox-check-svg': !symbol?.startsWith('dtable-icon')});
2222
return (
2323
<DTableIcon
2424
className={className}

src/DTableIcon/index.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,4 @@
33
height: 1em;
44
fill: currentColor;
55
overflow: hidden;
6-
}
7-
8-
.multicolor-icon.scale-icon-150 {
9-
transform: scale(1.5);
10-
}
6+
}

0 commit comments

Comments
 (0)