Details
-
Type:
Bug
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.6, 3.7
-
Fix Version/s: None
-
Component/s: Course, HTML and CSS, Themes
-
Labels:
-
Difficulty:Easy
-
Affected Branches:MOODLE_36_STABLE, MOODLE_37_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
In Boost there's a bit of CSS as follows:
.section .activity .activityinstance,
.section .activity .activityinstance div
{ display: inline-block; }Which catches me out a lot, particularly that second line. I'm not quite sure what it was originally trying to do, but if we found that out and made it more narrowly target that specifc (or those specific) div(s) then it wouldn't affect other divs that get added in this area and need to be display: block or display: flex or whatever.
Overruling broad CSS like this is hard/impossible from a child theme, so Boost should err on the side of being specific when it can.