Set marginRight as string (#24422)
This commit is contained in:
1 parent
ab3f23da91
commit
927b2fd138
2 files changed
+2
-2
No files matched your search
@@ -73,7 +73,7 @@ export default class ModalRoot extends React.PureComponent {
|
||||
document.documentElement.style.marginRight = `${getScrollbarWidth()}px`;
|
||||
} else {
|
||||
document.body.classList.remove('with-modals--active');
|
||||
document.documentElement.style.marginRight = 0;
|
||||
document.documentElement.style.marginRight = '0';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user