Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/kbn-ui-framework/dist/ui_framework.css
Original file line number Diff line number Diff line change
Expand Up @@ -2762,7 +2762,7 @@ main {
*/
.kuiLocalSearchAssistedInput__assistance {
position: absolute;
right: 12px;
right: 6px;
top: 50%;
/* 1 */
z-index: 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
*/
.kuiLocalSearchAssistedInput__assistance {
position: absolute;
right: $kuiFormControlHorizontalPadding;
right: $kuiFormControlHorizontalPadding/2;
top: 50%; /* 1 */
z-index: 2;
transform: translateY(-50%); /* 1 */
Expand Down
11 changes: 7 additions & 4 deletions src/ui/public/query_bar/directive/query_popover.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import {
EuiLink,
EuiText,
EuiSpacer,
EuiHorizontalRule,
EuiPopoverTitle,
} from '@elastic/eui';

const luceneQuerySyntaxDocs = documentationLinks.query.luceneQuerySyntax;
Expand Down Expand Up @@ -52,7 +54,6 @@ module.directive('queryPopover', function (localStorage) {
const button = (
<EuiButtonEmpty
size="xs"
flush="right"
onClick={togglePopover}
>
Options
Expand All @@ -67,7 +68,9 @@ module.directive('queryPopover', function (localStorage) {
button={button}
isOpen={$scope.isPopoverOpen}
closePopover={closePopover}
withTitle
>
<EuiPopoverTitle>Syntax options</EuiPopoverTitle>
<div style={{ width: '350px' }}>
<EuiText>
<p>
Expand All @@ -77,13 +80,13 @@ module.directive('queryPopover', function (localStorage) {
href={kueryQuerySyntaxDocs}
target="_blank"
>
Learn more
See docs
</EuiLink>
)}
</p>
</EuiText>

<EuiSpacer size="s" />
<EuiSpacer size="m" />

<EuiForm>
<EuiFormRow>
Expand All @@ -97,7 +100,7 @@ module.directive('queryPopover', function (localStorage) {
</EuiFormRow>
</EuiForm>

<EuiSpacer size="s" />
<EuiHorizontalRule margin="s" />

<EuiText size="xs">
<p>
Expand Down