Skip to content

Commit 64876c9

Browse files
linbingquanMugen87
andauthored
Editor: fix Resizer.js error. (#26703)
* Editor: fix `Resizer.js` error. * Update main.css --------- Co-authored-by: Michael Herzog <[email protected]>
1 parent 94d905f commit 64876c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/js/Resizer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function Resizer( editor ) {
3636

3737
const cX = clientX < 0 ? 0 : clientX > offsetWidth ? offsetWidth : clientX;
3838

39-
const x = offsetWidth - cX;
39+
const x = Math.max( 260, offsetWidth - cX ); // .TabbedPanel min-width: 260px
4040

4141
dom.style.right = x + 'px';
4242

0 commit comments

Comments
 (0)