Skip to content

Commit

Permalink
Merge pull request #5498 from openshift-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…5473-to-release-4.4

[release-4.4] Bug 1837784: Query Browser: Add text wrapping for table headers
  • Loading branch information
openshift-merge-robot committed Jun 25, 2020
2 parents cc1a82b + a54968c commit 1c70f1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/public/components/monitoring/metrics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ import {
TimesIcon,
} from '@patternfly/react-icons';
import {
IDecorator,
ISortBy,
sortable,
Table,
TableBody,
TableGridBreakpoint,
TableHeader,
TableVariant,
wrappable,
} from '@patternfly/react-table';
import * as React from 'react';
import { Helmet } from 'react-helmet';
Expand Down Expand Up @@ -676,7 +676,7 @@ const QueryTable_: React.FC<QueryTableProps> = ({

const cellProps = {
props: { className: 'query-browser__table-cell' },
transforms: [sortable as (v: unknown) => IDecorator],
transforms: [sortable, wrappable],
};

// TableBody's shouldComponentUpdate seems to struggle with SeriesButton, so add a unique key to help TableBody
Expand Down

0 comments on commit 1c70f1c

Please sign in to comment.