Skip to content

Commit

Permalink
MDL-49214 theme_bootstrapbase: OL list numbers cut off in Clean theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Mary Evans committed Mar 1, 2015
1 parent dba564c commit b3f8277
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion theme/bootstrapbase/less/moodle/core.less
Expand Up @@ -2301,7 +2301,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;
}
Expand Down
13 changes: 13 additions & 0 deletions theme/bootstrapbase/less/moodle/undo.less
Expand Up @@ -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;
}
}
4 changes: 2 additions & 2 deletions theme/bootstrapbase/style/moodle.css

Large diffs are not rendered by default.

0 comments on commit b3f8277

Please sign in to comment.