Skip to content

Commit

Permalink
fix(demo): Fix error text overflow
Browse files Browse the repository at this point in the history
Some very long URLs can appear in the error text, and word wrapping is
very helpful.  This change sets styles on the element to wrap text
anywhere.

Change-Id: I9b1ddc97f90d5f1b2f5e532efd7c53f747576db5
  • Loading branch information
joeyparrish committed Jun 11, 2020
1 parent a7e5540 commit f01d4ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions demo/demo.less
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ html, body {
display: inline-block;
margin-left: auto;
margin-right: auto;

/* Some very long URLs can appear in the error text, and word wrapping is very
* helpful. */
overflow-wrap: anywhere;
}

.input-disabled {
Expand Down

0 comments on commit f01d4ed

Please sign in to comment.