Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Fixed word wrapping. #5728

Merged
merged 2 commits into from
Oct 28, 2013
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/extensions/default/WebPlatformDocs/WebPlatformDocs.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,19 @@

a {
color: @link-color;
word-break: break-word;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@larz0 I think you mixed up with word-wrap. I don't see property value "break-word" for word-break property, but I do see it for word-wrap property. Anyway, your changes do work though. I just want to make sure that we have the correct properties applied.

-webkit-hyphens: auto;
}

code {
font-family: SourceCodePro;
font-size: 12px;
color: @emphasized-text-color;
background: none; // revert Bootstrap's styling
padding: 0;
white-space: normal;
}

b {
font-weight: @font-weight-semibold;
}
Expand Down