MDL-56321 theme_boost: Profile page adjustments

- Removed the border overlapping a user's avatar. This only affected
  course profiles and the default preset.
- Do not break the sections when they wrap from one column to another
- Sneaked in a change to remove left/right padding on .box. I've been
  wanting to change that since I added it. The padding on top and bottom
  is sometimes useful to separate boxes, but the left/right padding
  should be applied by the general structure.
This commit is contained in:
Frédéric Massart
2016-10-24 12:11:12 +08:00
committed by Damyon Wiese
parent 919b9dfabd
commit e9a009dcd6
3 changed files with 21 additions and 13 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ class core_renderer extends \core_renderer {
if (is_array($classes)) {
$classes = implode(' ', $classes);
}
return parent::box_start($classes . ' p-a-1', $id, $attributes);
return parent::box_start($classes . ' p-y-1', $id, $attributes);
}
/**