-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Unified search] Adds 1minute option to the date picker (#172944)
## Summary Adds 1 minute option to the commonly used section of unified search datepicker. There are use cases which this can be very beneficiary. <img width="1672" alt="image" src="https://github.com/elastic/kibana/assets/17003240/3b9ab27d-6e7d-43fd-8a2d-d74e0758177c">
- Loading branch information
Showing
2 changed files
with
12 additions
and
9 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
12 changes: 4 additions & 8 deletions
12
src/plugins/unified_search/public/query_string_input/query_bar.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 |
---|---|---|
@@ -1,13 +1,9 @@ | ||
.kbnQueryBar__datePickerWrapper { | ||
.euiDatePopoverButton-isInvalid { | ||
background-image: euiFormControlGradient($euiColorDanger); | ||
|
||
// @todo Remove when EUI issue is resolved. | ||
// @see https://github.com/elastic/eui/issues/4612 | ||
&:focus { | ||
color: $euiTextColor; | ||
background-color: $euiFormBackgroundColor; | ||
background-image: euiFormControlGradient($euiColorPrimary); | ||
} | ||
} | ||
} | ||
// increase the section height to avoid vertical scrolling | ||
.euiQuickSelectPopover__section { | ||
max-height: 142px; | ||
} |