forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Logs UI] Fix z-index of logs page toolbar (elastic#54469)
* Fix z-index of logs page toolbar * Extract `FixedDatePicker` from log setup page, and use it in the stream page * Clean unused import Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
- Loading branch information
1 parent
6d85a9e
commit f2d5910
Showing
3 changed files
with
28 additions
and
20 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
x-pack/legacy/plugins/infra/public/components/fixed_datepicker.tsx
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
|
||
import React from 'react'; | ||
|
||
import { EuiDatePicker, EuiDatePickerProps } from '@elastic/eui'; | ||
import euiStyled from '../../../../common/eui_styled_components'; | ||
|
||
export const FixedDatePicker = euiStyled( | ||
({ | ||
className, | ||
inputClassName, | ||
...datePickerProps | ||
}: { | ||
className?: string; | ||
inputClassName?: string; | ||
} & EuiDatePickerProps) => ( | ||
<EuiDatePicker {...datePickerProps} className={inputClassName} popperClassName={className} /> | ||
) | ||
)` | ||
z-index: 3 !important; | ||
`; |
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