gjb2048 / moodle-theme_essential

The Essential Moodle Theme
https://gjb2048.github.io/moodle-theme_essential/
GNU General Public License v3.0
91 stars 120 forks source link

Marketing spots no longer responsive for mobiles #821

Closed gjb2048 closed 7 years ago

gjb2048 commented 7 years ago

In https://github.com/gjb2048/moodle-theme_essential/commit/e1ce268bcb4ee39e16a8281545308d51e0e914a1#diff-f50eda39d72c00906c97557ade370e0bR178 there was a change for the marketing spots so that they line up: https://moodle.org/mod/forum/discuss.php?d=346763.

Not sure why I did not implement the media query? Then would be ok for mobiles.

Anyway when on mobiles etc. the marketing spots no longer go vertical despite the 'span4'.

gjb2048 commented 7 years ago

M3.2 version / master only.

gjb2048 commented 7 years ago

Workaround for custom CSS box:

#marketing-spots > div {
    display: block;
}
@media (min-width: 768px) {
    #marketing-spots > div {
        display: flex;
    }
}
gjb2048 commented 7 years ago

Forum posting: https://moodle.org/mod/forum/discuss.php?d=350699#p1415287