mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Doc-Table] Import styles into JS where possible (#65329)
Fixes styles and overflow table vis
This commit is contained in:
parent
3e9a12cf33
commit
e5abec1922
18 changed files with 8 additions and 11 deletions
|
@ -1,3 +1,2 @@
|
|||
@import 'directives/index';
|
||||
@import 'doc_table/index';
|
||||
@import 'context/index';
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
* 1. Stack content vertically so the table can scroll when its constrained by a fixed container height.
|
||||
*/
|
||||
doc-table {
|
||||
@include euiScrollBar;
|
||||
overflow: auto;
|
||||
flex: 1 1 100%;
|
||||
flex-direction: column; /* 1 */
|
||||
|
|
|
@ -22,6 +22,7 @@ import { dispatchRenderComplete } from '../../../../../kibana_utils/public';
|
|||
// @ts-ignore
|
||||
import { getLimitedSearchResultsMessage } from './doc_table_strings';
|
||||
import { getServices } from '../../../kibana_services';
|
||||
import './index.scss';
|
||||
|
||||
export interface LazyScope extends ng.IScope {
|
||||
[key: string]: any;
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
@import '../../mixins';
|
||||
|
||||
@import 'doc_table';
|
||||
@import 'components/index';
|
|
@ -1,3 +0,0 @@
|
|||
@import 'doc_viewer/index';
|
||||
@import 'fetch_error/index';
|
||||
@import 'sidebar/index';
|
|
@ -1 +0,0 @@
|
|||
@import 'doc_viewer';
|
|
@ -16,6 +16,7 @@
|
|||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import './doc_viewer.scss';
|
||||
import React from 'react';
|
||||
import { EuiTabbedContent } from '@elastic/eui';
|
||||
import { getDocViewsRegistry } from '../../../kibana_services';
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
@import 'fetch_error';
|
|
@ -16,6 +16,7 @@
|
|||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import './fetch_error.scss';
|
||||
import React, { Fragment } from 'react';
|
||||
import { FormattedMessage, I18nProvider } from '@kbn/i18n/react';
|
||||
import { EuiFlexGroup, EuiFlexItem, EuiCallOut, EuiCodeBlock, EuiSpacer } from '@elastic/eui';
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
@import './_sidebar';
|
|
@ -16,6 +16,7 @@
|
|||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import './discover_sidebar.scss';
|
||||
import React, { useCallback, useEffect, useState, useMemo } from 'react';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { EuiButtonIcon, EuiTitle } from '@elastic/eui';
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
|
||||
@import 'embeddables';
|
|
@ -16,6 +16,7 @@
|
|||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import './search_embeddable.scss';
|
||||
import angular from 'angular';
|
||||
import _ from 'lodash';
|
||||
import * as Rx from 'rxjs';
|
||||
|
|
|
@ -10,6 +10,4 @@
|
|||
// monChart__legend--small
|
||||
// monChart__legend-isLoading
|
||||
|
||||
@import 'components/index';
|
||||
@import 'angular/index';
|
||||
@import 'embeddable/index';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue