marxjohnson/moodle-block_accessibility — pull request #30 by amygroshek (2013-07-31 17:58:54+00:00)
Title: Removed !important from userstyles.php 

Hi Mark,

In testing this block we found that if the user had previously saved font size settings, then the `!important` on the setting loaded in userstyles.php prevented any visible change when the font size buttons were clicked.

The CSS from userstyles.php, for example:
#page {
font-size: 93% !important;
}

Even though the local style is written by JS to the `#page` element, it can't override that `!important`:

It looks like a previous commit removed the `!important`s from module.js. Perhaps they should be removed from userstyles.php as well?

Regards,
Amy