Skip to content

Commit

Permalink
[field] fix long words stretch the entire container
Browse files Browse the repository at this point in the history
  • Loading branch information
vicmeow authored and rexxars committed Oct 6, 2020
1 parent 2ccd642 commit 4de838e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
position: relative;
line-height: 1.5; /* To make sure the box shadow doesn't get cut off on multiline strings */
box-shadow: 0 2px 0 var(--component-bg);
word-break: break-all;

@nest &:first-of-type {
border-top-left-radius: 1px;
Expand Down

0 comments on commit 4de838e

Please sign in to comment.