File tree Expand file tree Collapse file tree 3 files changed +7
-21
lines changed
src/plugins/data/public/ui/query_editor Expand file tree Collapse file tree 3 files changed +7
-21
lines changed Original file line number Diff line number Diff line change 22 * Copyright OpenSearch Contributors
33 * SPDX-License-Identifier: Apache-2.0
44 */
5- .osdQueryBar__languageSelector {
6- font-size : small ;
7- }
5+ .languageSelector {
6+ height : 100% ;
87
9- .osdQueryBar__languageSelectorFooter {
10- font-size : smaller ;
11- padding-left : 0 ;
12- padding-top : 2px ;
13- color : $ouiTextSubduedColor ;
8+ * {
9+ font-size : small ;
10+ }
1411}
Original file line number Diff line number Diff line change 2020}
2121
2222.osdQueryEditorFooter {
23- color : $ouiTextSubduedColor ; // Apply the subdued color to all text in this class
23+ color : $euiTextSubduedColor ; // Apply the subdued color to all text in this class
2424 height : 35px ;
2525
2626 * {
2727 color : inherit ;
2828 font-size : medium ;
2929 align-items : center ;
3030 }
31-
32- #languageSelector {
33- height : 100% ;
34- }
3531}
3632
3733.osdQueryEditor__languageWrapper {
3834 align-items : center ;
3935 justify-content : center ;
4036 height : 40px ;
4137 border : $euiBorderThin ;
42-
43- #languageSelector {
44- height : 100% ;
45- }
4638}
4739
4840.osdQueryEditor__dataSourceWrapper {
Original file line number Diff line number Diff line change @@ -100,14 +100,11 @@ export const QueryLanguageSelector = (props: QueryLanguageSelectorProps) => {
100100 } ) ;
101101 return (
102102 < EuiPopover
103- id = "languageSelector"
103+ className = "languageSelector"
104104 button = {
105105 < EuiButtonEmpty
106106 iconSide = "right"
107107 onClick = { onButtonClick }
108- className = {
109- props . isFooter ? 'osdQueryBar__languageSelectorFooter' : 'osdQueryBar__languageSelector'
110- }
111108 iconType = { props . isFooter ? 'arrowDown' : undefined }
112109 >
113110 { selectedLanguage . label }
You can’t perform that action at this time.
0 commit comments