Skip to content

Commit

Permalink
[Feature branch] Compressed EuiSuperSelect dropdown (elastic#2155)
Browse files Browse the repository at this point in the history
- Added truncation example
- Added max-height
  • Loading branch information
cchaos authored and thompsongl committed Sep 10, 2019
1 parent a5fbdf0 commit 4139a35
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/components/form/super_select/_super_select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
.euiSuperSelect__listbox {
@include euiScrollBar;
max-height: 300px;
<<<<<<< HEAD
overflow: hidden auto;
=======
overflow: hidden;
overflow-y: auto;
>>>>>>> [Feature branch] Compressed EuiSuperSelect dropdown (#2155)
}

.euiSuperSelect__popoverPanel[class*='bottom'] { /* 3 */
Expand All @@ -35,11 +40,19 @@
@include euiFontSizeS;
padding: $euiSizeS;

<<<<<<< HEAD
&:hover,
=======
&:hover:not(:disabled),
>>>>>>> [Feature branch] Compressed EuiSuperSelect dropdown (#2155)
&:focus {
text-decoration: none;
background-color: $euiFocusBackgroundColor;
}

&:disabled {
cursor: not-allowed;
}
}

.euiSuperSelect__item--hasDividers:not(:last-of-type) {
Expand Down

0 comments on commit 4139a35

Please sign in to comment.