Skip to content

Commit

Permalink
Versuch von Verbesserung
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-csg authored and PhMemmel committed Mar 4, 2024
1 parent 65be020 commit c8eee0e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion course/edit_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ function definition() {
}
$buttonarray[] = &$mform->createElement('submit', 'saveanddisplay', get_string('savechangesanddisplay'), $classarray);
$buttonarray[] = &$mform->createElement('cancel');
$mform->addGroup($buttonarray, 'buttonar', '', array(' '), false);
$mform->addGroup($buttonarray, 'buttonar', '', array(' '), false, ['class' => 'col-md-12']);
$mform->closeHeaderBefore('buttonar');
$mform->set_sticky_footer('buttonar');

Expand Down
2 changes: 1 addition & 1 deletion course/moodleform_mod.php
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ function add_action_buttons($cancel=true, $submitlabel=null, $submit2label=null)
$buttonarray[] = &$mform->createElement('cancel');
}

$mform->addGroup($buttonarray, 'buttonar', '', array(' '), false);
$mform->addGroup($buttonarray, 'buttonar', '', array(' '), false, ['class' => 'col-md-12']);
$mform->setType('buttonar', PARAM_RAW);
$mform->set_sticky_footer('buttonar');
}
Expand Down
4 changes: 2 additions & 2 deletions theme/boost/scss/moodle/sticky-footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ body {
overflow: hidden;
box-shadow: 0 0 1rem rgba($black, .15);
font-size: calc(#{$font-size-base} * 1.10);
.form-group {
flex-grow: .2;
fieldset div {
justify-content: flex-end;
}
}

Expand Down
4 changes: 2 additions & 2 deletions theme/boost/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -36153,8 +36153,8 @@ body {
box-shadow: 0 0 1rem rgba(0, 0, 0, 0.15);
font-size: calc(0.9375rem * 1.10);
}
.stickyfooter .form-group {
flex-grow: 0.2;
.stickyfooter fieldset div {
justify-content: flex-end;
}

.hasstickyfooter .stickyfooter {
Expand Down
4 changes: 2 additions & 2 deletions theme/classic/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -36087,8 +36087,8 @@ body {
box-shadow: 0 0 1rem rgba(0, 0, 0, 0.15);
font-size: calc(0.9375rem * 1.10);
}
.stickyfooter .form-group {
flex-grow: 0.2;
.stickyfooter fieldset div {
justify-content: flex-end;
}

.hasstickyfooter .stickyfooter {
Expand Down

0 comments on commit c8eee0e

Please sign in to comment.