Skip to content

Commit

Permalink
ver. 0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
光弘 committed Oct 8, 2018
1 parent 45c9ee8 commit b4bc0bb
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.4.2

* `CHANGED` style adjustment

# 0.4.1

`CHANGED` support js style export
Expand Down
8 changes: 4 additions & 4 deletions demo/TransferDemo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,16 @@ class TransferDemo extends React.Component {
/>
<div style={{ marginTop: '20px' }}>
<Button onClick={me.handleClick}>
手动更改被选中的项
手动更改被选中的项
</Button>
<Button onClick={me.handleClick2}>
更改 mode
更改 mode
</Button>
<Button onClick={me.handleClick3}>
更改 props
更改 props
</Button>
<Button onClick={me.handleClick4}>
重置
重置
</Button>
</div>
</div>
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-transfer",
"version": "0.4.1",
"version": "0.4.2",
"description": "transfer ui component for react",
"main": "build/index.js",
"scripts": {
Expand Down
14 changes: 10 additions & 4 deletions src/Transfer.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,24 @@
@__transferPrefixCls: kuma-uxtransfer;

.@{__transferPrefixCls}-container {
box-sizing: border-box;
* {
&, &:after, &:before {
box-sizing: inherit;
}
}
font-size: 12px;
border-collapse: separate;
display: inline-block;
width: 480px;
th {
font-weight: 400;
width: 44px;
padding: 16px 16px 6px 16px;
padding: 16px 12px 6px;
display: inline-block;
> .title {
float: left;
color: @normal-alpha-4;
color: @dark-3;
}
.check-all {
float: right;
Expand Down Expand Up @@ -64,9 +70,9 @@
a {
display: block;
height: 32px;
padding: 0 20px 0 16px;
padding: 0 12px;
line-height: 32px;
color: @dark-alpha-3;
color: @dark-3;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
Expand Down

0 comments on commit b4bc0bb

Please sign in to comment.