Inconsistent CSS Padding issues on Mobile devices

Issue #129 new
Jeff Gregory created an issue

I am getting inconsistent padding on Activities when using Tiles Format when viewed on a mobile device. It looks fine when viewed on a desk top

Comments (3)

  1. DANoWAR

    The reason for this can be found here: https://bitbucket.org/dw8/moodle-format_tiles/src/9df4cd84df68ca7ace2421927c713c2398ca4676/styles.css#lines-999:1002

        .format-tiles #page.container-fluid,
        .path-course-view li.activity > div {
            /* stylelint-disable-next-line declaration-no-important */
            padding: 0 !important;
        }
    

    You forgot the .format-tiles “prefix” for part of the rule. The correct rules should be:

        .format-tiles #page.container-fluid,
        .format-tiles.path-course-view li.activity > div {
            /* stylelint-disable-next-line declaration-no-important */
            padding: 0 !important;
        }
    

  2. Log in to comment