mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[Graph/SCSS] Migrate source_modal.scss
file to css in js (#215168)
## Summary Part of https://github.com/elastic/kibana/issues/208908 Replaces `source_modal.scss` files file to css-in-js. ### Checklist - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
This commit is contained in:
parent
c63f2980fb
commit
971c2056ad
4 changed files with 7 additions and 7 deletions
|
@ -1 +0,0 @@
|
|||
@import './source_modal';
|
|
@ -1,4 +0,0 @@
|
|||
.gphSourceModal {
|
||||
width: 720px;
|
||||
min-height: 530px;
|
||||
}
|
|
@ -8,12 +8,13 @@
|
|||
import { EuiModalBody, EuiModalHeader, EuiModalHeaderTitle } from '@elastic/eui';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
import React from 'react';
|
||||
import { css } from '@emotion/react';
|
||||
|
||||
import { SourcePicker, SourcePickerProps } from './source_picker';
|
||||
|
||||
export function SourceModal(props: SourcePickerProps) {
|
||||
return (
|
||||
<div className="gphSourceModal">
|
||||
<div css={sourceModalStyles}>
|
||||
<EuiModalHeader>
|
||||
<EuiModalHeaderTitle>
|
||||
<FormattedMessage
|
||||
|
@ -28,3 +29,8 @@ export function SourceModal(props: SourcePickerProps) {
|
|||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
const sourceModalStyles = css`
|
||||
width: 720px;
|
||||
min-height: 530px;
|
||||
`;
|
||||
|
|
|
@ -8,4 +8,3 @@
|
|||
// gphChart__legend-isLoading
|
||||
|
||||
@import './main';
|
||||
@import './components/index';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue