Skip to content

Commit

Permalink
Merge pull request #12 from johnyanarella/master
Browse files Browse the repository at this point in the history
Revised to apply vertical-align=auto and no-overlap to embedded iron-dropdown
  • Loading branch information
John Yanarella authored Jul 26, 2017
2 parents 8943f3d + 3025bb1 commit ac6728c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "radium-combo",
"version": "0.7.0",
"version": "0.8.0",
"description": "Material Design Dropdown/Typeahead/Combobox control",
"authors": [
"jason gardner <jason.gardner.lv@gmail.com>"
Expand Down
6 changes: 1 addition & 5 deletions radium-combo.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,9 @@
user-select: none;
}
#dropdown {
margin-top: 56px;
background-color: #FFFFFF;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}
:host([no-label-float]) #dropdown {
margin-top: 36px;
}
#clear-icon {
position: absolute;
right: 24px;
Expand Down Expand Up @@ -90,7 +86,7 @@
<iron-icon id="clear-icon" icon="clear" hidden$="[[!_showClearIcon(showClearButton, _inputValue)]]" on-tap="_clearTapped"></iron-icon>
<iron-icon id="dropdown-icon" icon="[[_dropdownIcon(_open)]]"></iron-icon>
</paper-input-container>
<iron-dropdown id="dropdown" no-cancel-on-outside-click on-iron-overlay-opened="_dropdownOpened" on-iron-overlay-closed="_dropdownClosed">
<iron-dropdown id="dropdown" vertical-align="auto" no-overlap no-cancel-on-outside-click on-iron-overlay-opened="_dropdownOpened" on-iron-overlay-closed="_dropdownClosed">
<div class="dropdown-content">
<template is="dom-if" if="[[_checkShowNoMatches(noMatchesLabel, type, _filteredOptions)]]">
<paper-item value="">
Expand Down

0 comments on commit ac6728c

Please sign in to comment.