Skip to content

Commit

Permalink
gt - Make AddressInput responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
gthomas-appfolio committed Jun 25, 2018
1 parent 29cbbe0 commit 6f874eb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/AddressInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ class AddressInput extends React.Component {
/>
</FormLabelGroup>
<Row className="no-gutters">
<Col sm={6} xs={5}>
<Col sm={6} xs={12} className="pr-sm-3">
<FormLabelGroup
rowClassName={classnames({ 'mb-0': !showCountry })}
rowClassName={classnames({ 'mb-sm-0': !showCountry })}
feedback={error.city}
label={showLabels ? labels.city : null}
stacked
Expand All @@ -124,7 +124,7 @@ class AddressInput extends React.Component {
/>
</FormLabelGroup>
</Col>
<Col sm={2} xs={3} className="px-3">
<Col sm={2} xs={3} className="pr-3">
<FormLabelGroup
rowClassName={classnames({ 'mb-0': !showCountry })}
feedback={error.state}
Expand All @@ -144,7 +144,7 @@ class AddressInput extends React.Component {
/>
</FormLabelGroup>
</Col>
<Col sm={4} xs={4}>
<Col sm={4} xs={9}>
<FormLabelGroup
rowClassName={classnames({ 'mb-0': !showCountry })}
label={showLabels ? labels.postal : null}
Expand Down

0 comments on commit 6f874eb

Please sign in to comment.