diff --git a/theme/boost/classes/output/core_renderer.php b/theme/boost/classes/output/core_renderer.php index 85cb1e687bd..9c061f98c4d 100644 --- a/theme/boost/classes/output/core_renderer.php +++ b/theme/boost/classes/output/core_renderer.php @@ -64,7 +64,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); } /** diff --git a/theme/boost/scss/moodle/user.scss b/theme/boost/scss/moodle/user.scss index 4275eb9b5fb..92c3bc2a529 100644 --- a/theme/boost/scss/moodle/user.scss +++ b/theme/boost/scss/moodle/user.scss @@ -15,16 +15,17 @@ .userprofile .profile_tree { column-count: 2; -} -.userprofile .profile_tree section { - @extend .card; - @extend .card-block; - break-inside: avoid; -} + section { + @extend .card; + @extend .card-block; + display: inline-block; + width: 100%; -.userprofile .profile_tree section h3 { - @extend .lead; + h3 { + @extend .lead; + } + } } .userprofile dl.list { diff --git a/theme/boost/scss/preset-default.scss b/theme/boost/scss/preset-default.scss index bd3991b148d..4b4c5ed8ade 100644 --- a/theme/boost/scss/preset-default.scss +++ b/theme/boost/scss/preset-default.scss @@ -174,15 +174,6 @@ $breadcrumb-divider-rtl: "/" !default; } } -/** - * Style for content title. - */ -#region-main h2 { - border-bottom: $border-width solid $table-border-color; - padding-bottom: $spacer; - margin-bottom: $spacer; -} - /** * Form styles. */