Skip to content

Commit 541cef7

Browse files
committed
feat: optimize code
1 parent b6ee171 commit 541cef7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/range.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1807,7 +1807,7 @@ describe('Picker.Range', () => {
18071807
} else if (this.className.includes('panel-container')) {
18081808
return 311;
18091809
} else if (this.className.includes('input')) {
1810-
return 400;
1810+
return 306;
18111811
} else if (this.className.includes('range-separator')) {
18121812
return 10;
18131813
}
@@ -1831,7 +1831,7 @@ describe('Picker.Range', () => {
18311831
);
18321832
openPicker(container, 1);
18331833
expect(document.querySelector('.rc-picker-panel-container')).toHaveStyle({
1834-
marginLeft: '410px',
1834+
marginLeft: '316px',
18351835
});
18361836
mock.mockRestore();
18371837
});

0 commit comments

Comments
 (0)