Skip to content

Commit

Permalink
Merge pull request #427 from appfolio/responsiveAddressInput
Browse files Browse the repository at this point in the history
gt - Make AddressInput responsive
  • Loading branch information
gthomas-appfolio authored Jun 25, 2018
2 parents 29cbbe0 + 7c9384e commit fcebe49
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={4} 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={8}>
<FormLabelGroup
rowClassName={classnames({ 'mb-0': !showCountry })}
label={showLabels ? labels.postal : null}
Expand Down

0 comments on commit fcebe49

Please sign in to comment.