Skip to content

Commit

Permalink
styling
Browse files Browse the repository at this point in the history
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
  • Loading branch information
abbyhu2000 committed Jul 19, 2024
1 parent 0ce0009 commit b563d75
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
13 changes: 5 additions & 8 deletions src/plugins/data/public/ui/query_editor/_language_selector.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
.osdQueryBar__languageSelector {
font-size: small;
}
.languageSelector {
height: 100%;

.osdQueryBar__languageSelectorFooter {
font-size: smaller;
padding-left: 0;
padding-top: 2px;
color: $ouiTextSubduedColor;
* {
font-size: small;
}
}
4 changes: 0 additions & 4 deletions src/plugins/data/public/ui/query_editor/_query_editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@
font-size: medium;
align-items: center;
}

#languageSelector {
height: 100%;
}
}

.osdQueryEditor__languageWrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,11 @@ export const QueryLanguageSelector = (props: QueryLanguageSelectorProps) => {
});
return (
<EuiPopover
id="languageSelector"
className="languageSelector"
button={
<EuiButtonEmpty
iconSide="right"
onClick={onButtonClick}
className={
props.isFooter ? 'osdQueryBar__languageSelectorFooter' : 'osdQueryBar__languageSelector'
}
iconType={props.isFooter ? 'arrowDown' : undefined}
>
{selectedLanguage.label}
Expand Down

0 comments on commit b563d75

Please sign in to comment.