mirror of
https://github.com/ansible/awx.git
synced 2026-02-13 14:46:54 -03:30
Merge pull request #100 from marshmalien/org-details
Add Organization Details view and tests
This commit is contained in:
13
src/components/BasicChip/BasicChip.jsx
Normal file
13
src/components/BasicChip/BasicChip.jsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
import { Chip } from '@patternfly/react-core';
|
||||
import './basicChip.scss';
|
||||
|
||||
const BasicChip = ({ text }) => (
|
||||
<Chip
|
||||
className="awx-c-chip--basic"
|
||||
>
|
||||
{text}
|
||||
</Chip>
|
||||
);
|
||||
|
||||
export default BasicChip;
|
||||
10
src/components/BasicChip/basicChip.scss
Normal file
10
src/components/BasicChip/basicChip.scss
Normal file
@@ -0,0 +1,10 @@
|
||||
.awx-c-chip--basic {
|
||||
padding: 3px 8px;
|
||||
height: 24px;
|
||||
margin-right: 10px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
.pf-c-button {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,8 @@
|
||||
.pf-c-card__header {
|
||||
--pf-c-card__header--PaddingBottom: 0;
|
||||
--pf-c-card__header--PaddingX: 0;
|
||||
--pf-c-card__header--PaddingRight: 0;
|
||||
--pf-c-card__header--PaddingLeft: 0;
|
||||
--pf-c-card__header--PaddingTop: 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user