Skip to content

Commit

Permalink
ver. 0.4.22
Browse files Browse the repository at this point in the history
  • Loading branch information
光弘 committed Dec 26, 2017
1 parent d1ed168 commit 18491fe
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

---

## 0.4.22

`CHANGED` optimize select-value paddingRight, use large one only when allowClear is true

## 0.4.21

`CHANGED` export RcSelect
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uxcore-select2",
"version": "0.4.21",
"version": "0.4.22",
"description": "select ui component for react",
"main": "build/index.js",
"scripts": {
Expand Down
9 changes: 7 additions & 2 deletions src/Select2.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}

.@{__select-prefix-cls} {
box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
position: relative;
vertical-align: middle;
Expand Down Expand Up @@ -101,7 +101,12 @@
text-overflow: ellipsis;
white-space: nowrap;
max-width: 100%;
padding-right: 30px;
padding-right: 10px;
}
&-allow-clear {
.@{__select-prefix-cls}-selection-selected-value {
padding-right: 30px;
}
}
&-selection--single {
height: @__select-trigger-height-large;
Expand Down

0 comments on commit 18491fe

Please sign in to comment.