Remove tab and button style overrides

This commit is contained in:
Marliana Lara
2020-02-20 18:50:05 -05:00
parent 2a8679234a
commit f2e1e71302
35 changed files with 154 additions and 308 deletions

View File

@@ -1,7 +1,7 @@
import React, { useEffect, useState } from 'react';
import { t } from '@lingui/macro';
import { withI18n } from '@lingui/react';
import { Card, PageSection } from '@patternfly/react-core';
import { Card, PageSection, CardActions } from '@patternfly/react-core';
import {
Switch,
useParams,
@@ -60,7 +60,9 @@ function Credential({ i18n, setBreadcrumb }) {
let cardHeader = hasContentLoading ? null : (
<TabbedCardHeader>
<RoutedTabs tabsArray={tabsArray} />
<CardCloseButton linkTo="/credentials" />
<CardActions>
<CardCloseButton linkTo="/credentials" />
</CardActions>
</TabbedCardHeader>
);