Created by: yusufhm
As described in https://github.com/twbs/bootstrap/issues/32779, extra right padding is being added due to window.innerWidth not returning the right value. Using Math.round(window.visualViewport.width) instead provides the expected value.
Resolves #32779