diff --git a/src/routes/Profile/AdvancedProfile.js b/src/routes/Profile/AdvancedProfile.js index 942997776c02c0015508d64092476ef15de3b4a1..357d56d255d4cf408ef50350bd3b6f88937bf784 100644 --- a/src/routes/Profile/AdvancedProfile.js +++ b/src/routes/Profile/AdvancedProfile.js @@ -11,7 +11,7 @@ import styles from './AdvancedProfile.less'; const { Step } = Steps; const { Description } = DescriptionList; -const getWindowWidth = () => (window.innerWidth || document.documentElement.documentElement); +const getWindowWidth = () => (window.innerWidth || document.documentElement.clientWidth); const menu = (