Force wrapping for long content like hyperlinks.

Content that doesn't fit on the screen was causing the viewport to be
the wrong size on mobile devices resulting. This forces wrapping for
long content instead of letting it force the viewport size.

JIRA: https://openedx.atlassian.net/browse/MA-1236
This commit is contained in:
Akiva Leffert
2015-10-28 14:37:00 -04:00
parent dffcc25bcc
commit bb43407586

View File

@@ -102,6 +102,13 @@ div.course-wrapper {
@extend .content;
padding: ($baseline*2);
line-height: 1.6;
.xblock {
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word;
}
h1 {
margin: 0 0 lh();
}