MDL-49214 theme_bootstrapbase: OL list numbers cut off in Clean theme
Conflicts: theme/bootstrapbase/style/moodle.css
This commit is contained in:
@@ -2209,7 +2209,7 @@ body.lockscroll {
|
||||
.dir-rtl {
|
||||
// Bootstrap sets right margin to 0. Fail.
|
||||
// They set left margin to 25px so we will copy that.
|
||||
ul, ol {
|
||||
ul {
|
||||
margin-left: 0;
|
||||
margin-right: 25px;
|
||||
}
|
||||
|
||||
@@ -188,4 +188,17 @@ body:not(.jsenabled) .langmenu:hover > .dropdown-menu,
|
||||
display: block;
|
||||
max-height: 150px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
// Extends bootstrapbase/less/bootstrap/type.less
|
||||
// to enable ol lists to use a larger number set.
|
||||
|
||||
ol {
|
||||
margin: 0 0 @baseLineHeight / 2 2.5em;
|
||||
}
|
||||
|
||||
.dir-rtl {
|
||||
ol {
|
||||
margin: 0 2.5em @baseLineHeight / 2 0;
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user