Updated Placeholder Responsiveness and Added new Placeholders

• Updated:
- Placeholder Responsiveness

• Added:
- new Placeholders
This commit is contained in:
mgabdev
2020-07-29 15:40:47 -05:00
parent 73234ac52b
commit 13127960c4
24 changed files with 256 additions and 89 deletions

View File

@@ -7,6 +7,7 @@ import ColumnIndicator from '../components/column_indicator'
import MediaItem from '../components/media_item'
import LoadMore from '../components/load_more'
import Block from '../components/block'
import MediaGalleryPlaceholder from '../components/placeholder/media_gallery_placeholder'
const messages = defineMessages({
none: { id: 'account_gallery.none', defaultMessage: 'No media to show.' },
@@ -125,7 +126,9 @@ class AccountGallery extends ImmutablePureComponent {
{
isLoading && attachments.size === 0 &&
<ColumnIndicator type='loading' />
<div className={[_s.default, _s.width100PC].join(' ')}>
<MediaGalleryPlaceholder />
</div>
}
{