Updated styling of loading indicator in list
• Updated: - styling of loading indicator in list so its the same height as LoadMore
This commit is contained in:
parent
df1ddd8a45
commit
2e75cb6f7c
@ -31,7 +31,7 @@ class ColumnIndicator extends PureComponent {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={[_s.default, _s.width100PC, _s.justifyContentCenter, _s.alignItemsCenter, _s.py15].join(' ')}>
|
<div className={[_s.default, _s.width100PC, _s.justifyContentCenter, _s.alignItemsCenter, _s.py15].join(' ')}>
|
||||||
<Icon id={type} size='44px' />
|
<Icon id={type} size='36px' />
|
||||||
{
|
{
|
||||||
type !== 'loading' &&
|
type !== 'loading' &&
|
||||||
<Text
|
<Text
|
||||||
|
@ -35,7 +35,7 @@ class LoadMore extends PureComponent {
|
|||||||
if (!visible || disabled) return null
|
if (!visible || disabled) return null
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={[_s.default, _s.py10, _s.px10].join(' ')}>
|
<div className={[_s.default, _s.py15, _s.px10].join(' ')}>
|
||||||
<Button
|
<Button
|
||||||
isBlock
|
isBlock
|
||||||
radiusSmall
|
radiusSmall
|
||||||
|
@ -256,9 +256,7 @@ export default class ScrollableList extends PureComponent {
|
|||||||
{loadMore}
|
{loadMore}
|
||||||
{
|
{
|
||||||
isLoading &&
|
isLoading &&
|
||||||
<div className={[_s.default, _s.alignItemsCenter].join(' ')}>
|
<ColumnIndicator type='loading' />
|
||||||
<Icon id='loading' />
|
|
||||||
</div>
|
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user