mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 12:43:11 +10:00
Merge pull request #954 from sharetribe/fix-price-filter-styles
Fix price filter styles
This commit is contained in:
commit
65a081aa97
4 changed files with 30 additions and 15 deletions
|
|
@ -14,6 +14,9 @@ way to update this template, but currently, we follow a pattern:
|
|||
|
||||
## Upcoming version 2018-11-XX
|
||||
|
||||
* [fix] PriceFilter styles
|
||||
[#954](https://github.com/sharetribe/flex-template-web/pull/954)
|
||||
|
||||
## v2.3.1 2018-11-16
|
||||
|
||||
* [fix] Don't set currentUserHasListings if fetched listing is in draft state.
|
||||
|
|
|
|||
|
|
@ -34,6 +34,10 @@
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
.formWrapper {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.clearButton {
|
||||
@apply --marketplaceH5FontStyles;
|
||||
font-weight: var(--fontWeightMedium);
|
||||
|
|
|
|||
|
|
@ -73,20 +73,22 @@ class PriceFilterPlainComponent extends Component {
|
|||
<FormattedMessage id={'PriceFilter.clear'} />
|
||||
</button>
|
||||
</div>
|
||||
<PriceFilterForm
|
||||
id={id}
|
||||
initialValues={hasInitialValues ? initialValues : { minPrice: min, maxPrice: max }}
|
||||
onChange={this.handleChange}
|
||||
intl={intl}
|
||||
contentRef={node => {
|
||||
this.filterContent = node;
|
||||
}}
|
||||
min={min}
|
||||
max={max}
|
||||
step={step}
|
||||
liveEdit
|
||||
isOpen={this.state.isOpen}
|
||||
/>
|
||||
<div className={css.formWrapper}>
|
||||
<PriceFilterForm
|
||||
id={id}
|
||||
initialValues={hasInitialValues ? initialValues : { minPrice: min, maxPrice: max }}
|
||||
onChange={this.handleChange}
|
||||
intl={intl}
|
||||
contentRef={node => {
|
||||
this.filterContent = node;
|
||||
}}
|
||||
min={min}
|
||||
max={max}
|
||||
step={step}
|
||||
liveEdit
|
||||
isOpen={this.state.isOpen}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -106,7 +106,13 @@
|
|||
}
|
||||
|
||||
.priceSeparator {
|
||||
margin: 0 8px;
|
||||
margin: 4px 8px 0 8px;
|
||||
}
|
||||
|
||||
@media (--viewportMedium) {
|
||||
.priceSeparator {
|
||||
margin: 2px 8px 0 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.sliderWrapper {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue