move filter submit button to right (as according to design sheet)
This commit is contained in:
parent
2ff0851d60
commit
69c66d943a
|
@ -317,19 +317,21 @@ const FiltersForm = (props) => {
|
|||
</SearchBarText>
|
||||
</SearchBarFilter>
|
||||
|
||||
<SubmitBtn onClick={onSumbit} disabled={props.loading}>
|
||||
{
|
||||
props.loading ?
|
||||
<>
|
||||
<HashLoader color='#a1adb3' cssOverride={{marginRight: 6, transform: 'translate(-3px, 2px) scale(1.5)'}} size={14} />
|
||||
Загрузка данных...
|
||||
</> :
|
||||
<>
|
||||
<SVGIcon src='/images/icons/search.svg' width='14' height='14' />
|
||||
Показать варианты
|
||||
</>
|
||||
}
|
||||
</SubmitBtn>
|
||||
<div style={{float: 'right'}}>
|
||||
<SubmitBtn onClick={onSumbit} disabled={props.loading}>
|
||||
{
|
||||
props.loading ?
|
||||
<>
|
||||
<HashLoader color='#a1adb3' cssOverride={{marginRight: 6, transform: 'translate(-3px, 2px) scale(1.5)'}} size={14} />
|
||||
Загрузка данных...
|
||||
</> :
|
||||
<>
|
||||
<SVGIcon src='/images/icons/search.svg' width='14' height='14' />
|
||||
Показать варианты
|
||||
</>
|
||||
}
|
||||
</SubmitBtn>
|
||||
</div>
|
||||
</FiltersEl>
|
||||
);
|
||||
}
|
||||
|
@ -346,7 +348,7 @@ export default class IndexPage extends React.Component {
|
|||
page: 0,
|
||||
data_loaded: false,
|
||||
load_err: false,
|
||||
loading_filters: false
|
||||
loading_filters: true
|
||||
};
|
||||
|
||||
ApartamentService.getAll(100).then(data => {
|
||||
|
|
Loading…
Reference in New Issue