Skip to content

Commit 3f31066

Browse files
authored
Merge pull request #375 from seatable/opt-checkbox-column-style
refactor: remove mobile-specific icon scaling in checkbox formatter
2 parents 2a36acc + 7c1427e commit 3f31066

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
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: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,3 @@
44
fill: currentColor;
55
overflow: hidden;
66
}
7-
8-
.multicolor-icon.scale-icon-150 {
9-
transform: scale(1.5);
10-
}

0 commit comments

Comments
 (0)