-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the table modifier to generic modifier
- Loading branch information
1 parent
9a77bc0
commit 4cfc228
Showing
4 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// ========================================================================== | ||
// UTILITIES / #WORD-BREAK | ||
// ========================================================================== | ||
|
||
/** | ||
* This class allows words to be broken between any 2 | ||
* to avoid overflowing their container. | ||
* | ||
* This can be useful on table cells which could contain | ||
* long strings such as email addresses. | ||
* | ||
* Usage: class="nhsuk-u-word-break-all" | ||
*/ | ||
.nhsuk-u-word-break-all { | ||
word-break: break-all; | ||
} |