mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
remove card padding overrides to project add form
This commit is contained in:
@@ -1,16 +1,10 @@
|
|||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import { useHistory } from 'react-router-dom';
|
import { useHistory } from 'react-router-dom';
|
||||||
import styled from 'styled-components';
|
import { Card, PageSection } from '@patternfly/react-core';
|
||||||
import { Card as _Card, PageSection } from '@patternfly/react-core';
|
|
||||||
import { CardBody } from '@components/Card';
|
import { CardBody } from '@components/Card';
|
||||||
import ProjectForm from '../shared/ProjectForm';
|
import ProjectForm from '../shared/ProjectForm';
|
||||||
import { ProjectsAPI } from '@api';
|
import { ProjectsAPI } from '@api';
|
||||||
|
|
||||||
const Card = styled(_Card)`
|
|
||||||
--pf-c-card--child--PaddingLeft: 0;
|
|
||||||
--pf-c-card--child--PaddingRight: 0;
|
|
||||||
`;
|
|
||||||
|
|
||||||
function ProjectAdd() {
|
function ProjectAdd() {
|
||||||
const [formSubmitError, setFormSubmitError] = useState(null);
|
const [formSubmitError, setFormSubmitError] = useState(null);
|
||||||
const history = useHistory();
|
const history = useHistory();
|
||||||
|
|||||||
Reference in New Issue
Block a user