mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-06 00:11:50 -05:00
Move everything to awx/ui_next (#297)
This commit is contained in:
18
awx/ui_next/src/components/Chip/Chip.jsx
Normal file
18
awx/ui_next/src/components/Chip/Chip.jsx
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
import { Chip } from '@patternfly/react-core';
|
||||
import styled from 'styled-components';
|
||||
|
||||
export default styled(Chip)`
|
||||
--pf-c-chip--m-read-only--PaddingTop: 3px;
|
||||
--pf-c-chip--m-read-only--PaddingRight: 8px;
|
||||
--pf-c-chip--m-read-only--PaddingBottom: 3px;
|
||||
--pf-c-chip--m-read-only--PaddingLeft: 8px;
|
||||
|
||||
& > .pf-c-button {
|
||||
padding: 3px 8px;
|
||||
}
|
||||
|
||||
${props => (props.isOverflowChip && `
|
||||
padding: 0;
|
||||
`)}
|
||||
`;
|
||||
Reference in New Issue
Block a user