Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: less variables for cascader, dropdown, and select #20156

merged 1 commit into from Dec 10, 2019


Copy link

@Satloff Satloff commented Dec 10, 2019

馃 This is a ...

  • New feature
  • Bug fix
  • Site / document update
  • Component style update
  • TypeScript definition update
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

馃挕 Background and solution

dropdown, cascader, and Select are all visually similar components, yet have different less variables. I added 4 new variables to cascader and select to keep the customizability up to date with dropdown. 1 new variable to dropdown to increase flexibility.


Edge Child Padding


@select-dropdown-font-size: @dropdown-font-size
@select-dropdown-line-height: @dropdown-line-height



馃摑 Changelog

Language Changelog
馃嚭馃嚫 English Cascader, Dropdown, and Select line-height and top/bottom padding less variables
馃嚚馃嚦 Chinese

鈽戯笍 Self Check before Merge

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

Copy link

netlify bot commented Dec 10, 2019

Deploy preview for ant-design ready!

Built with commit 51d66b2

Copy link

codesandbox-ci bot commented Dec 10, 2019

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 51d66b2:

Sandbox Source
antd reproduction template Configuration

Copy link

codecov bot commented Dec 10, 2019

Codecov Report

Merging #20156 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #20156   +/-   ##
  Coverage   97.81%   97.81%           
  Files         286      286           
  Lines        7739     7739           
  Branches     2132     2177   +45     
  Hits         7570     7570           
  Misses        169      169

Continue to review full report at Codecov.

Legend - Click here to learn more
螖 = absolute <relative> (impact), 酶 = not affected, ? = missing data
Powered by Codecov. Last update 2f7998c...51d66b2. Read the comment docs.

components/cascader/style/index.less Outdated Show resolved Hide resolved
@afc163 afc163 merged commit 721d8cb into ant-design:master Dec 10, 2019
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants