Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.6.4, 3.7
-
MOODLE_36_STABLE, MOODLE_37_STABLE
-
MOODLE_36_STABLE, MOODLE_37_STABLE
-
MDL-65904-master -
Description
If using precompiledcsscallback in a child theme of a parent that also implements it, the parent's fallback css will effectively override the child css.
This is because the the theme_config->get_precompiled_css_content() stitches the CSS files together in child + parents order, resulting in parents CSS being lower in the CSS, hence taking higher priority for identical specificity.
As other areas of the lib do, it should be in array_reverse(parents) + child order.
Attachments
Issue Links
- has been marked as being related by
-
MDL-59261 Add a shipped version of core themes as a final fallback for CSS
-
- Closed
-