Skip to content

Commit cf34ed1

Browse files
committed
hub-header-bordered: replace old header class
1 parent cbae1af commit cf34ed1

File tree

7 files changed

+7
-13
lines changed

7 files changed

+7
-13
lines changed

src/components/headers/collection-header.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ import {
6464
} from 'src/utilities';
6565
import { DateComponent } from '../date-component/date-component';
6666
import { SignatureBadge } from '../signing';
67-
import './header.scss';
6867

6968
interface IProps {
7069
collections: CollectionVersionSearch[];

src/components/headers/header.scss

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
$breakpoint-md: 1000px;
22

3+
.hub-header-bordered {
4+
border-bottom: 1px solid #d8d8d8;
5+
}
6+
37
.image {
48
padding-right: 16px;
59
}

src/components/headers/partner-header.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
Tabs,
1111
TabsType,
1212
} from 'src/components';
13-
import './header.scss';
1413

1514
interface IProps {
1615
namespace: NamespaceType;
@@ -54,7 +53,7 @@ export class PartnerHeader extends React.Component<IProps> {
5453
}
5554
breadcrumbs={<Breadcrumbs links={breadcrumbs} />}
5655
pageControls={pageControls}
57-
className='header'
56+
className='hub-header-bordered'
5857
>
5958
{namespace.description ? <div>{namespace.description}</div> : null}
6059

src/containers/collection-detail/collection-detail.scss

-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ $breakpoint-md: 1000px;
55
padding: 0;
66
}
77

8-
.header {
9-
border-bottom: 1px solid #d8d8d8;
10-
}
11-
128
.hub-docs-container {
139
padding-top: 24px;
1410
background-color: white;

src/containers/collection-detail/collection-docs.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class CollectionDocs extends React.Component<RouteProps, IBaseCollectionState> {
130130
activeTab='documentation'
131131
actuallyCollection={actuallyCollection}
132132
breadcrumbs={breadcrumbs}
133-
className='header'
133+
className='hub-header-bordered'
134134
collection={collection}
135135
collections={collections}
136136
collectionsCount={collectionsCount}

src/containers/search/search.scss

-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
margin-right: 24px;
88
}
99

10-
.header {
11-
border-bottom: 1px solid #d8d8d8;
12-
}
13-
1410
.pf-c-toolbar__content {
1511
padding-left: 0;
1612
}

src/containers/search/search.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ class Search extends React.Component<RouteProps, IState> {
212212
namespace={updateCollection.collection_version.namespace}
213213
/>
214214
)}
215-
<BaseHeader className='header' title={t`Collections`}>
215+
<BaseHeader className='hub-header-bordered' title={t`Collections`}>
216216
{!noData && (
217217
<div className='hub-toolbar-wrapper'>
218218
<div className='toolbar'>

0 commit comments

Comments
 (0)