Merge branch 'MDL-76823-main' of https://github.com/sh-csg/moodle
This commit is contained in:
@@ -447,6 +447,7 @@ class course_edit_form extends moodleform {
|
||||
$buttonarray[] = &$mform->createElement('cancel');
|
||||
$mform->addGroup($buttonarray, 'buttonar', '', array(' '), false);
|
||||
$mform->closeHeaderBefore('buttonar');
|
||||
$mform->set_sticky_footer('buttonar');
|
||||
|
||||
$mform->addElement('hidden', 'id', null);
|
||||
$mform->setType('id', PARAM_INT);
|
||||
|
||||
@@ -1118,6 +1118,7 @@ abstract class moodleform_mod extends moodleform {
|
||||
|
||||
$mform->addGroup($buttonarray, 'buttonar', '', array(' '), false);
|
||||
$mform->setType('buttonar', PARAM_RAW);
|
||||
$mform->set_sticky_footer('buttonar');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -47,6 +47,12 @@ body {
|
||||
}
|
||||
}
|
||||
}
|
||||
fieldset div {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
[data-groupname="buttonar"] {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.hasstickyfooter .stickyfooter {
|
||||
|
||||
@@ -38559,6 +38559,12 @@ body {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
}
|
||||
.stickyfooter fieldset div {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.stickyfooter [data-groupname=buttonar] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.hasstickyfooter .stickyfooter {
|
||||
bottom: 0;
|
||||
|
||||
@@ -38493,6 +38493,12 @@ body {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
}
|
||||
.stickyfooter fieldset div {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.stickyfooter [data-groupname=buttonar] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.hasstickyfooter .stickyfooter {
|
||||
bottom: 0;
|
||||
|
||||
Reference in New Issue
Block a user