diff --git a/admin/roles/classes/define_role_table_advanced.php b/admin/roles/classes/define_role_table_advanced.php index 265119fafd9..f4ab5625bb7 100644 --- a/admin/roles/classes/define_role_table_advanced.php +++ b/admin/roles/classes/define_role_table_advanced.php @@ -652,7 +652,7 @@ class core_role_define_role_table_advanced extends core_role_capability_table_wi echo "\n"; } if ($helpicon) { - echo ''.$helpicon.''; + echo ''.$helpicon.''; } echo ''; if (isset($this->errors[$name])) { diff --git a/blog/rsslib.php b/blog/rsslib.php index d671d1b52f9..37d1968e702 100644 --- a/blog/rsslib.php +++ b/blog/rsslib.php @@ -83,7 +83,7 @@ function blog_rss_print_link($context, $filtertype, $filterselect = 0, $tagid = $url = blog_rss_get_url($context->id, $userid, $filtertype, $filterselect, $tagid); $rsspix = $OUTPUT->pix_icon('i/rss', get_string('rss'), 'core', array('title' => $tooltiptext)); - print '
'; + print ''; } /** diff --git a/calendar/renderer.php b/calendar/renderer.php index 2f2242baa0d..a078c02bebb 100644 --- a/calendar/renderer.php +++ b/calendar/renderer.php @@ -161,7 +161,7 @@ class core_calendar_renderer extends plugin_renderer_base { $deletelink = null; } - $commands = html_writer::start_tag('div', array('class' => 'commands pull-xs-right')); + $commands = html_writer::start_tag('div', array('class' => 'commands float-sm-right')); $commands .= html_writer::start_tag('a', array('href' => $editlink)); $str = get_string('tt_editevent', 'calendar'); $commands .= $this->output->pix_icon('t/edit', $str); @@ -205,9 +205,9 @@ class core_calendar_renderer extends plugin_renderer_base { $output .= html_writer::tag('div', $event->courselink); } if (!empty($event->time)) { - $output .= html_writer::tag('span', $event->time, array('class' => 'date pull-xs-right mr-1')); + $output .= html_writer::tag('span', $event->time, array('class' => 'date float-sm-right mr-1')); } else { - $attrs = array('class' => 'date pull-xs-right mr-1'); + $attrs = array('class' => 'date float-sm-right mr-1'); $output .= html_writer::tag('span', calendar_time_representation($event->timestart), $attrs); } diff --git a/theme/boost/scss/moodle/modules.scss b/theme/boost/scss/moodle/modules.scss index e0e162e199a..24746220cb6 100644 --- a/theme/boost/scss/moodle/modules.scss +++ b/theme/boost/scss/moodle/modules.scss @@ -547,10 +547,6 @@ $popout-header-height: 4rem; margin: 0; } -.path-mod-assign [data-region="grade-panel"] .fitem > .col-md-3 > .pull-xs-right { - float: none !important; /* stylelint-disable-line declaration-no-important */ -} - .path-mod-assign [data-region="grade-panel"] .mform .fitem.has-popout .felement { width: 100%; } diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index fd1c6ba94c4..4e8c4d3ac45 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -16339,10 +16339,6 @@ div#dock { .path-mod-assign [data-region="grade-panel"] .fitem.row { margin: 0; } -.path-mod-assign [data-region="grade-panel"] .fitem > .col-md-3 > .pull-xs-right { - float: none !important; - /* stylelint-disable-line declaration-no-important */ } - .path-mod-assign [data-region="grade-panel"] .mform .fitem.has-popout .felement { width: 100%; } diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index b061746c132..f3c92abad48 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -16611,10 +16611,6 @@ div#dock { .path-mod-assign [data-region="grade-panel"] .fitem.row { margin: 0; } -.path-mod-assign [data-region="grade-panel"] .fitem > .col-md-3 > .pull-xs-right { - float: none !important; - /* stylelint-disable-line declaration-no-important */ } - .path-mod-assign [data-region="grade-panel"] .mform .fitem.has-popout .felement { width: 100%; } diff --git a/user/index.php b/user/index.php index 304d13ad348..6821dd4de77 100644 --- a/user/index.php +++ b/user/index.php @@ -367,9 +367,8 @@ echo ''; if ($newcourse == 1) { $str = get_string('proceedtocourse', 'enrol'); - // Floated left so it goes under the enrol users button on mobile. // The margin is to make it line up with the enrol users button when they are both on the same line. - $classes = 'my-1 pull-xs-left'; + $classes = 'my-1'; $url = course_get_url($course); echo $OUTPUT->single_button($url, $str, 'GET', array('class' => $classes)); }