Skip to content

Commit

Permalink
Added --dropdown_content_margin to control the dropdown content margin
Browse files Browse the repository at this point in the history
  • Loading branch information
katemenkhaus committed Jun 7, 2016
1 parent 3f21d7a commit 25f3710
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 4 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v0.9.9
===============
* Added --dropdown_content_margin to control the dropdown content margin

v0.9.8
===============
* Added --dropdown_text_padding to control text padding and make internal element use flex layout
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "px-dropdown",
"version": "0.9.8",
"version": "0.9.9",
"main": [
"px-dropdown.html"
],
Expand Down
3 changes: 2 additions & 1 deletion css/px-dropdown-content-sketch.css
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,8 @@ textarea {
z-index: 1;
max-height: 14.8rem;
overflow-y: auto;
cursor: pointer; }
cursor: pointer;
margin: var(--dropdown_content_margin, 0); }

.px-dropdown--listitem {
overflow-x: hidden;
Expand Down
3 changes: 2 additions & 1 deletion css/px-dropdown-content.css
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,8 @@ textarea {
z-index: 1;
max-height: 14.8rem;
overflow-y: auto;
cursor: pointer; }
cursor: pointer;
margin: var(--dropdown_content_margin, 0); }

.px-dropdown--listitem {
overflow-x: hidden;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "px-dropdown",
"author": "General Electric",
"description": "A Px Dropdown component",
"version": "0.9.8",
"version": "0.9.9",
"private": true,
"extName" : null,
"repository" :
Expand Down
1 change: 1 addition & 0 deletions sass/px-dropdown-content-sketch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Predix branding rules go in px-dropdown-predix.scss, not in this file.
max-height: calculateRem(222px);
overflow-y: auto;
cursor: pointer;
margin: var(--dropdown_content_margin, 0);
}

.px-dropdown--listitem {
Expand Down

0 comments on commit 25f3710

Please sign in to comment.