mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
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:
commit
9e395f3259
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user