Merge pull request #15526 from Kapiroska/tag-no-wrap

Long Tag component is wrapped if it is longer than screen size
This commit is contained in:
偏右 2019-03-20 10:15:18 +08:00 committed by GitHub
commit 9e395f3259
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,12 +6,12 @@
.@{tag-prefix-cls} {
.reset-component;
display: inline-block;
height: 22px;
height: auto;
margin-right: 8px;
padding: 0 7px;
font-size: @tag-font-size;
line-height: 20px;
white-space: nowrap;
white-space: normal;
background: @tag-default-bg;
border: @border-width-base @border-style-base @border-color-base;
border-radius: @border-radius-base;