Skip to content

Commit

Permalink
fix(description-list): Preventing text overflow in terms - FRONT-2096 (
Browse files Browse the repository at this point in the history
  • Loading branch information
planctus authored Mar 11, 2021
1 parent 3425ea4 commit 2bf8861
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
font: $ecl-font-prolonged-print-xl;
font-family: $ecl-font-family-print-alt;
font-weight: $ecl-font-weight-print-bold;
overflow-wrap: break-word;
}

.ecl-description-list__definition {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
font-weight: $ecl-font-weight-bold;
margin-top: $ecl-spacing-l;
max-width: calc(80ch - #{$ecl-spacing-2-xl});
overflow-wrap: break-word;

&:first-child {
margin-top: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
font: $ecl-font-prolonged-print-xl;
font-family: $ecl-font-family-print-alt;
font-weight: $ecl-font-weight-print-bold;
overflow-wrap: break-word;
}

.ecl-description-list__definition {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
font-weight: $ecl-font-weight-bold;
margin-top: $ecl-spacing-l;
max-width: calc(80ch - #{$ecl-spacing-2-xl});
overflow-wrap: break-word;

&:first-child {
margin-top: 0;
Expand Down

0 comments on commit 2bf8861

Please sign in to comment.