mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
PriceFilterPlain: fix padding
This commit is contained in:
parent
ecaa1ece42
commit
7422281f31
2 changed files with 20 additions and 14 deletions
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue