-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(autocomplete): add missing global styles
add css classes to restore the autocomplete widget style when the global style option of the EuiProvider is removed. As a proof of concept that this approach might work for all widgets. related to #144
- Loading branch information
Showing
2 changed files
with
14 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,23 @@ | ||
.custom-autocomplete-style * { | ||
font-size: 18px !important; | ||
font-family: 'Inter',BlinkMacSystemFont,Helvetica,Arial,sans-serif; | ||
} | ||
|
||
.custom-autocomplete-style input, | ||
.custom-autocomplete-style .euiComboBox__inputWrap{ | ||
background-color: #edc4c4 !important; | ||
} | ||
|
||
.custom-autocomplete-style button { | ||
background: none; | ||
border: none; | ||
} | ||
|
||
.euiComboBoxOptionsList * { | ||
border: none; | ||
background-color: inherit; | ||
} | ||
|
||
.euiComboBoxOptionsList__empty { | ||
font-family: 'Inter',BlinkMacSystemFont,Helvetica,Arial,sans-serif; | ||
} |