Skip to content

Commit

Permalink
fix: wrapping on long words in dropdowns, fixes #451 (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhard-adobe authored and lazd committed Dec 13, 2019
1 parent be910e8 commit 8bb2d5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/menu/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ governing permissions and limitations under the License.
.spectrum-Menu-itemLabel {
flex: 1 1 auto;
line-height: var(--spectrum-selectlist-option-label-line-height);
word-break: break-all;
}

.spectrum-Menu-itemLabel--wrapping {
Expand Down

0 comments on commit 8bb2d5b

Please sign in to comment.