Skip to content

Commit

Permalink
remove placeholder styles
Browse files Browse the repository at this point in the history
  • Loading branch information
thompsongl committed Jul 6, 2021
1 parent cc91272 commit f6a1e7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 21 deletions.
7 changes: 0 additions & 7 deletions src/core/public/chrome/ui/header/collapsible_nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import { groupBy, sortBy } from 'lodash';
import React, { Fragment, useRef } from 'react';
import useObservable from 'react-use/lib/useObservable';
import * as Rx from 'rxjs';
import { css } from '@emotion/react';
import { ChromeNavLink, ChromeRecentlyAccessedHistoryItem } from '../..';
import { AppCategory } from '../../../../types';
import { InternalApplicationStart } from '../../../application/types';
Expand Down Expand Up @@ -116,10 +115,6 @@ export function CollapsibleNav({
});
};

const styles = css`
background: coral;
`;

return (
<EuiCollapsibleNav
data-test-subj="collapsibleNav"
Expand All @@ -132,7 +127,6 @@ export function CollapsibleNav({
button={button}
ownFocus={false}
size={240}
css={styles}
>
{customNavLink && (
<Fragment>
Expand Down Expand Up @@ -197,7 +191,6 @@ export function CollapsibleNav({
color="text"
gutterSize="none"
size="s"
css={{ background: 'coral' }}
/>
</EuiCollapsibleNavGroup>
</EuiFlexItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

import React, { useCallback, useMemo, useState } from 'react';
import { css } from '@emotion/react';
import { FormattedMessage } from '@kbn/i18n/react';
import './discover_grid.scss';
import {
Expand Down Expand Up @@ -151,12 +150,8 @@ export interface DiscoverGridProps {
controlColumnIds?: string[];
}

const styles = css`
background: coral;
`;

export const EuiDataGridMemoized = React.memo((props: EuiDataGridProps) => {
return <EuiDataGrid {...props} css={styles} />;
return <EuiDataGrid {...props} />;
});

export const DiscoverGrid = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import React, { FunctionComponent, useState } from 'react';
import PropTypes from 'prop-types';
import { css as emotionCss } from '@emotion/react';
import {
EuiFieldText,
EuiFieldNumber,
Expand Down Expand Up @@ -126,14 +125,10 @@ export const WorkpadConfig: FunctionComponent<Props> = (props) => {
},
];

const styles = emotionCss`
background: coral;
`;

return (
<div>
<div className="canvasLayout__sidebarHeaderWorkpad">
<EuiTitle size="xs" css={styles}>
<EuiTitle size="xs">
<h4>{strings.getTitle()}</h4>
</EuiTitle>
</div>
Expand Down Expand Up @@ -199,7 +194,7 @@ export const WorkpadConfig: FunctionComponent<Props> = (props) => {

<VarConfig variables={variables} setVariables={setWorkpadVariables} />

<div className="canvasSidebar__expandable" css={{ color: 'coral' }}>
<div className="canvasSidebar__expandable">
<EuiAccordion
id="accordion-global-css"
className="canvasSidebar__accordion"
Expand All @@ -213,7 +208,6 @@ export const WorkpadConfig: FunctionComponent<Props> = (props) => {
<span>{strings.getGlobalCSSLabel()}</span>
</EuiToolTip>
}
css={{ color: 'coral' }}
>
<div className="canvasSidebar__accordionContent">
<EuiTextArea
Expand Down

0 comments on commit f6a1e7e

Please sign in to comment.