Skip to content

Commit

Permalink
MDL-40205 theme: fixed overflow of block headers
Browse files Browse the repository at this point in the history
Conflicts:
	theme/bootstrapbase/style/moodle.css
  • Loading branch information
Sam Hemelryk authored and danpoltawski committed Jan 13, 2014
1 parent 0dc14c0 commit 53f2e7a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion theme/base/style/blocks.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.block {border:1px solid;margin-bottom:1em;}
.block .header h2 { padding: .2em 0 0 .2em; margin: 0;}
.block .header h2 { padding: .2em 0 0 .2em; margin: 0;word-wrap: break-word;}
.block .header .block_action {float:right;margin:4px 0 3px 0;vertical-align:top;}
.block .header .block_action img,
.block .header .block_action input {margin:0 3px; width: 12px; height: 12px;}
Expand Down
9 changes: 5 additions & 4 deletions theme/bootstrapbase/less/moodle/blocks.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
padding: 8px 0;
}

.block .header h2 {
padding: .2em 0 0 .2em;
margin: 0;
}
.block .header .title h2,
.block h3.main {
.nav-header;
Expand Down Expand Up @@ -34,6 +30,11 @@
height: 12px;
}
.block {
.header h2 {
word-wrap: break-word;
padding: .2em 0 0 .2em;
margin: 0;
}
.content {
padding: 4px 14px;
word-wrap: break-word;
Expand Down
2 changes: 1 addition & 1 deletion theme/bootstrapbase/style/moodle.css

Large diffs are not rendered by default.

0 comments on commit 53f2e7a

Please sign in to comment.