Skip to content

Commit

Permalink
MDL-40705 theme_bootstrapbase: Handling of long words in block content
Browse files Browse the repository at this point in the history
  • Loading branch information
FMCorz committed Jan 6, 2014
1 parent e71a533 commit bf65274
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
5 changes: 5 additions & 0 deletions blocks/private_files/styles.css
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,5 @@
/* Rule so that the table tree view works with word-wrap: break-word. */
.block_private_files .content table {
table-layout: fixed;
width: 100%;
}
13 changes: 8 additions & 5 deletions theme/bootstrapbase/less/moodle/blocks.less
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -39,11 +39,14 @@
width:auto; width:auto;
} }


.block .content { .block {
padding: 4px 14px; .content {
} padding: 4px 14px;
.block .content hr { word-wrap: break-word;
margin: 5px 0; hr {
margin: 5px 0;
}
}
} }


.block.hidden .content { .block.hidden .content {
Expand Down
2 changes: 1 addition & 1 deletion theme/bootstrapbase/style/moodle.css

Large diffs are not rendered by default.

0 comments on commit bf65274

Please sign in to comment.