Skip to content

Commit

Permalink
fix(css): fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
qingyashu committed Aug 7, 2018
1 parent b6d36b3 commit 78d01c4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
10 changes: 9 additions & 1 deletion src/Submission/AnyOfInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@ import PropTypes from 'prop-types';
import TextInput from './TextInput';
import './AnyOfInput.less';

const AnyOfInput = ({ name, values, node, properties, required, requireds, onChange }) => {
const AnyOfInput = ({
name,
values,
node,
properties,
required,
requireds,
onChange,
}) => {
// this is smelly code because it reuses logic from SubmitNodeForm,
// I'd like to extract some of the code into another function

Expand Down
4 changes: 2 additions & 2 deletions src/Submission/ProjectSubmission.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.project-submission__link {
display: inline-block;
font-style: italic;
padding: 0px 5px;
padding: 0 5px;
vertical-align: sub;
background: #e1f7e3;
margin-bottom: 15px;
Expand All @@ -10,6 +10,6 @@
.project-submission__title {
display: inline-block;
vertical-align: middle;
margin: 15px 0px;
margin: 15px 0;
margin-right: 0.5em;
}
2 changes: 1 addition & 1 deletion src/Submission/TextInput.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.text-input__input {
width: 400px;
height: 40px;
padding: 0px 10px;
padding: 0 10px;
}

.text-input__label {
Expand Down
6 changes: 3 additions & 3 deletions src/components/tables/base/Table.less
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.base-table__body {
border-collapse: collapse;
overflow: auto;
margin: 1em 0em;
text-align:center;
margin: 1em 0;
text-align: center;
width: 100%;
}

Expand All @@ -23,7 +23,7 @@
}

.base-table__row {
padding: 0rem 0rem;
padding: 0 0;
border-bottom: 1px solid #dedede;
background-color: #ffffff;
color: #000000;
Expand Down

0 comments on commit 78d01c4

Please sign in to comment.