Skip to content

Commit

Permalink
Merge pull request #44 from HuangQiii/master
Browse files Browse the repository at this point in the history
[FIX] upgrade to 0.6.3, fix tree style, fix default style
  • Loading branch information
HughHzWu authored May 24, 2019
2 parents 1fa800a + 97743e5 commit 329304c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 23,343 deletions.
6 changes: 4 additions & 2 deletions components/select/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -649,11 +649,13 @@

&-active,
&:active {
background-color: @menu-item-active-bg;
// background-color: @menu-item-active-bg;
background-color: @item-hover-bg;
}

&:focus {
background-color: @menu-item-active-bg;
// background-color: @menu-item-active-bg;
background-color: @item-hover-bg;
}
}

Expand Down
6 changes: 3 additions & 3 deletions components/style/themes/default.less
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@

@btn-height-base: .3rem;
@btn-height-lg: .4rem;
@btn-height-sm: .2rem;
@btn-height-sm: .24rem;

@btn-circle-size: @btn-height-base;
@btn-circle-size-lg: @btn-height-lg;
Expand Down Expand Up @@ -285,9 +285,9 @@
@input-padding-vertical-sm: .01rem;
@input-padding-vertical-lg: .06rem;
@input-placeholder-color: hsv(0, 0, 75%);
@input-color: fade(@text-color, 54%);
// @input-color: fade(@text-color, 54%);
@input-active-color: @text-color;
// @input-color : rgb(0,0,0);
@input-color: rgb(0, 0, 0);
// @input-border-color: @border-color-base;
@input-baseline-color: rgba(0, 0, 0, 0.54);
@input-border-color: rgba(0, 0, 0, 0.2);
Expand Down
1 change: 1 addition & 0 deletions components/tree/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export default class Tree extends Component<TreeProps, any> {
className={classNames(!showIcon && `${prefixCls}-icon-hide`, className)}
checkable={checkable ? <span className={`${prefixCls}-checkbox-inner`} /> : checkable}
switcherIcon={this.renderSwitcherIcon}
prefixCls={prefixCls}
>
{this.props.children}
</RcTree>
Expand Down
Loading

0 comments on commit 329304c

Please sign in to comment.