Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Horizontal Scrolling on WebKit Browsers #415

Open
brunobeeee opened this issue Apr 3, 2023 · 1 comment
Open

Horizontal Scrolling on WebKit Browsers #415

brunobeeee opened this issue Apr 3, 2023 · 1 comment
Assignees
Labels

Comments

@brunobeeee
Copy link

Describe the bug
When using Moove I get a horizontal scrolling bar on every page including 'Site Administration'. I'm assuming its a only a problem with WebKit based browsers because I get this bar on Safari and Orion but not on Firefox.

To Reproduce

  1. Install Moove Theme
  2. Open any page on your Moodle installation and look at the bottom of your browser window.

Screenshots
Safari:
safari

Firefox:
firefox

Your environment:

  • Moodle version: 4.1.2 (Build: 20230313)
  • Moove version 4.1.1 (Build: 2022112801)
  • Browser: Safari, Orion (no issue with Firefox)
@parkeyparker
Copy link

parkeyparker commented Nov 23, 2023

For anyone else having this issue I have managed to solve it by adding the following to the Raw SCSS field on the theme settings "Advanced" page:

@media (min-width: 992px) {
    #page.drawers {
        overflow-y: inherit;
    }
}

I haven't yet worked out whether there are any unintended side effects of this so make sure to test this out somewhere that doesn't affect production workloads.

Edit: Appears to not entirely play well with drawers but I can't quite working out what isn't right about it. It seems to incorrectly scroll the drawer if you scroll immediately after opening but if you wait a few seconds it scrolls correctly (eg drawer doesn't get affected by scroll, only page content).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants