mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-48026 output: action_menu no wrap improvement
Action menu output component has a new method set_nowrap_on_items that sets a property to toggle nowrap on menu items. That can be used to avoid problems when the menu appears within an absolutely positioned or floated element.
This commit is contained in:
parent
ac4ed127de
commit
a2a9468f01
3 changed files with 33 additions and 1 deletions
|
@ -2174,6 +2174,10 @@ img#persona_signin {
|
|||
&.align-bl-tr {bottom: 100%;left:100%;}
|
||||
&.align-br-tr {bottom: 100%;right: 0;margin-bottom: 4px;}
|
||||
}
|
||||
/** no wrap is set - prevent menu items from wrapping **/
|
||||
&.nowrap-items .menu > li {
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.block .moodle-actionmenu {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue