Skip to content

Commit

Permalink
Fix Select dropdown border
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed Feb 27, 2018
1 parent 5df04e6 commit 82092c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/select/style/index.less
Expand Up @@ -489,6 +489,10 @@
background-color: @item-hover-bg;
}

&:first-child, &:last-child {
border-radius: @border-radius-base;
}

&-disabled {
color: @disabled-color;
cursor: not-allowed;
Expand Down

4 comments on commit 82092c1

@yesmeck
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before:

screen shot 2018-02-27 at 17 23 39

After:

screen shot 2018-02-27 at 17 23 03

@yesmeck
Copy link
Member Author

@yesmeck yesmeck commented on 82092c1 Feb 27, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix Select dropdown border radius...

@afc163
Copy link
Member

@afc163 afc163 commented on 82092c1 Feb 27, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

应该是 border-radius: @border-radius-base @border-radius-base 0 0;border-radius: 0 0 @border-radius-base @border-radius-base;

@yesmeck
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

对哦。。。

Please sign in to comment.