-
Notifications
You must be signed in to change notification settings - Fork 843
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Place options list inside of an EuiPortal.
- Improve calculatePopoverPosition service by accepting a 'positions' argument.
- Loading branch information
Showing
14 changed files
with
324 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
src/components/combo_box/combo_box_options_list/_combo_box_options_list.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/** | ||
* 1. Make width match that of the input. | ||
*/ | ||
.euiComboBoxOptionsList { | ||
@include euiFormControlSize; | ||
box-sizing: content-box; /* 1 */ | ||
z-index: 1; | ||
position: absolute; | ||
} | ||
|
||
.euiComboBoxOptionsList--bottom { | ||
border-radius: 0 0 $euiBorderRadius $euiBorderRadius !important; | ||
border-top: none !important; | ||
} | ||
|
||
.euiComboBoxOptionsList--top { | ||
border-radius: $euiBorderRadius $euiBorderRadius 0 0 !important; | ||
box-shadow: none !important; | ||
} | ||
|
||
.euiComboBoxOptionsList__empty { | ||
padding: $euiSizeS; | ||
text-align: center; | ||
color: $euiColorDarkShade; | ||
} | ||
|
||
.euiComboBoxOptionsList__rowWrap { | ||
@include euiScrollBar; | ||
|
||
padding: $euiSizeS; | ||
max-height: 200px; | ||
overflow-y: auto; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
@import 'combo_box_options_list'; | ||
@import 'combo_box_option'; | ||
@import 'combo_box_title'; |
Oops, something went wrong.