Skip to content

Commit

Permalink
added three variables to allow customization of the dropdown list
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander.Kosov authored and Alexander.Kosov committed Jun 7, 2019
1 parent c8a9ca6 commit b075b9e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/dropdown/style/index.less
Expand Up @@ -78,11 +78,11 @@
&-submenu-title {
clear: both;
margin: 0;
padding: 5px @control-padding-horizontal;
padding: @dropdown-vertical-padding @control-padding-horizontal;
color: @text-color;
font-weight: normal;
font-size: @font-size-base;
line-height: 22px;
font-size: @dropdown-font-size;
line-height: @dropdown-line-height;
white-space: nowrap;
cursor: pointer;
transition: all 0.3s;
Expand Down
5 changes: 5 additions & 0 deletions components/style/themes/default.less
Expand Up @@ -277,6 +277,11 @@
@animation-duration-base: 0.2s;
@animation-duration-fast: 0.1s; // Tooltip

//Dropdown
@dropdown-vertical-padding: 5px;
@dropdown-font-size: @font-size-base;
@dropdown-line-height: 22px;

// Form
// ---
@label-required-color: @highlight-color;
Expand Down

0 comments on commit b075b9e

Please sign in to comment.