Skip to content

Commit

Permalink
Remove unnecessary custom styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed Apr 2, 2020
1 parent 48eaad8 commit bf90bc2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@ export const App = () => {
useEffect(() => trackUiMetric(METRIC_TYPE.LOADED, UIM_APP_LOAD), []);

return (
<div className="policyTable__horizontalScrollContainer">
<HashRouter>
<Switch>
<Redirect exact from={`${BASE_PATH}`} to={`${BASE_PATH}policies`} />
<Route exact path={`${BASE_PATH}policies`} component={PolicyTable} />
<Route path={`${BASE_PATH}policies/edit/:policyName?`} component={EditPolicy} />
</Switch>
</HashRouter>
</div>
<HashRouter>
<Switch>
<Redirect exact from={`${BASE_PATH}`} to={`${BASE_PATH}policies`} />
<Route exact path={`${BASE_PATH}policies`} component={PolicyTable} />
<Route path={`${BASE_PATH}policies/edit/:policyName?`} component={EditPolicy} />
</Switch>
</HashRouter>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const COLUMNS = {
label: i18n.translate('xpack.indexLifecycleMgmt.policyTable.headers.nameHeader', {
defaultMessage: 'Name',
}),
width: 200,
},
linkedIndices: {
label: i18n.translate('xpack.indexLifecycleMgmt.policyTable.headers.linkedIndicesHeader', {
Expand Down Expand Up @@ -179,7 +180,6 @@ export class PolicyTable extends Component {
return (
/* eslint-disable-next-line @elastic/eui/href-or-on-click */
<EuiLink
className="policyTable__link"
data-test-subj="policyTablePolicyNameLink"
href={getPolicyPath(value)}
onClick={() => trackUiMetric('click', UIM_EDIT_CLICK)}
Expand Down Expand Up @@ -415,7 +415,7 @@ export class PolicyTable extends Component {
tableContent = <EuiLoadingSpinner size="m" />;
} else if (totalNumberOfPolicies > 0) {
tableContent = (
<EuiTable className="policyTable__horizontalScroll">
<EuiTable>
<EuiScreenReaderOnly>
<caption role="status" aria-relevant="text" aria-live="polite">
<FormattedMessage
Expand Down
20 changes: 0 additions & 20 deletions x-pack/plugins/index_lifecycle_management/public/index.scss

This file was deleted.

1 change: 0 additions & 1 deletion x-pack/plugins/index_lifecycle_management/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import { PluginInitializerContext } from 'kibana/public';

import './index.scss';
import { IndexLifecycleManagementPlugin } from './plugin';

/** @public */
Expand Down

0 comments on commit bf90bc2

Please sign in to comment.