Sidebar variant shrink when collapsed

Hi everyone, i need your help. I’m doing the sidebar component for my website screens. i put the first component in my dashboard and it collapsed well. but when i put other variants on other screen, the dropdown inside shrink. how do i fix this?