Skip to content

Commit

Permalink
Fix feature table overlap in spanish #170433148 (#1308)
Browse files Browse the repository at this point in the history
* wider feature-row title divs

widen feature-row title divs to account for long words in non-English languages

* pull in compiled CSS from pattern-library

pulls in compiled CSS covered by commit SFDigitalServices/sf-dahlia-pattern-library@18cfda7

* apply new utility class to feature titles

applies new utility class that uses overflow-wrap: break-word to ensure we're covered even with edge cases (i.e. long words, viewports 768-830ish)
  • Loading branch information
chris palmatier authored Jan 29, 2020
1 parent 6e32d60 commit b469eb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.feature-row.row.collapse ng-if="description"
.medium-3.columns.padding-right--half
.medium-4.columns.padding-right--half.overflow-wrap-break-word
h4.feature-title translate="{{title}}"
.medium-9.columns ng-class="{skiptranslate: skiptranslate}"
.medium-8.columns ng-class="{skiptranslate: skiptranslate}"
p.feature-tile_content.t-small ng-bind-html="description | nl2br"
4 changes: 2 additions & 2 deletions app/assets/stylesheets/toolkit.scss

Large diffs are not rendered by default.

0 comments on commit b469eb8

Please sign in to comment.