Enabling horizontal scrollbar on Electron Window

So I created a BrowserView that will load a website url that I enter on Electron. The thing is: The website is not fitting in small screens, as there is no horizontal scrollbar. I tried changing the CSS in my view and while the changes are made, the website overlaps the CSS changes when all of it when it finishes loading.

I noticed that if I change the autoResize to horizontal: true for example, it does have an effect on the website page’s size.

I’d like to know if BrowserView has any way to enable Scrollbars.

Here’s the code snippet where I’m creating the BrowserView:

const mainView = new BrowserView({
      webPreferences: {
        preload: path.join(__dirname, "preload"),
        backgroundThrottling: false,
        pageVisibility: true,
        nodeIntegration: true,
      },
    });
    win.addBrowserView(mainView);
    mainView.setBounds({ x: 400, y: baseOffset, width: 1400, height: height });
    mainView.setAutoResize({ width: true, height: true });
    mainView.webContents.loadFile(path.join(__dirname, "showing.html"));