mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-56149 permissions: Alignment of icons should not wrap
/admin/roles/permissions.php?contextid=2 the icons should not wrap.
This commit is contained in:
parent
577bd70d38
commit
a2d9a89f5a
3 changed files with 9 additions and 1 deletions
|
@ -132,7 +132,7 @@ class core_role_permissions_table extends core_role_capability_table_base {
|
|||
|
||||
$risks = $this->get_risks($capability);
|
||||
|
||||
$contents = html_writer::tag('td', $risks, array('class' => 'risks'));
|
||||
$contents = html_writer::tag('td', $risks, array('class' => 'risks text-nowrap'));
|
||||
$contents .= html_writer::tag('td', $neededroles, array('class' => 'allowedroles'));
|
||||
$contents .= html_writer::tag('td', $forbiddenroles, array('class' => 'forbiddenroles'));
|
||||
return $contents;
|
||||
|
|
|
@ -139,3 +139,7 @@
|
|||
.pull-xs-right:extend(.pull-right) {
|
||||
/* stylelint-disable-line no-empty-source */
|
||||
}
|
||||
|
||||
.text-nowrap {
|
||||
white-space: nowrap !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
|
|
@ -19224,3 +19224,7 @@ input[type="reset"] .caret {
|
|||
.pull-xs-right {
|
||||
/* stylelint-disable-line no-empty-source */
|
||||
}
|
||||
.text-nowrap {
|
||||
white-space: nowrap !important;
|
||||
/* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue