Skip to content

Commit

Permalink
Merge pull request #2095 from cfpb/ans_breakword
Browse files Browse the repository at this point in the history
Remove `u-break-word`
  • Loading branch information
anselmbradford authored Nov 6, 2024
2 parents 76ecd4d + 97840af commit 019dec7
Show file tree
Hide file tree
Showing 22 changed files with 26 additions and 59 deletions.
25 changes: 0 additions & 25 deletions docs/pages/helper-classes-mixins.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,31 +103,6 @@ variation_groups:
```html
<div class="u-right"></div>
```
- variation_code_snippet: >-
<!--NOTE: Inline style properties for demonstration only.-->
<div class="u-break-word u-mb30" style="width: 100px; padding: 0.5em; border: 1px solid silver;">
This link should break:
<a href="#">
something@something.com
</a>
</div>
<div class="u-mb30" style="width: 100px; padding: 0.5em; border: 1px solid silver;">
This link should not:
<a href="#">
something@something.com
</a>
</div>
variation_description: >-
Force word breaks within an element. Useful for small containers where
text may over-run the width of the container.
_This only works in Internet Explorer 8 when the element with the `.u-break-word` class has layout. See <http://stackoverflow.com/questions/3997223/word-wrapbreak-word-not-working-in-ie8> for more information._
variation_name: '"Break word" helper class'
- variation_code_snippet: >-
<h4 class="u-mb0">Demonstration of heading 4 with zero bottom
margin</h4>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"release-it": {
"git": {
"requireBranch": "main",
"changelog": "yarn exec git-cliff -o - --include-path 'packages/cfpb-design-system/**/*' --latest",
"changelog": "yarn exec git-cliff -o - --include-path 'packages/cfpb-design-system/**/*' --latest --bump",
"commitsPath": "packages/cfpb-design-system",
"requireCommits": true
},
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit 019dec7

Please sign in to comment.