Merge branch 'gallery-empty-column' into 'develop'

Make empty-column-indicator fullwidth on Gallery pages

See merge request soapbox-pub/soapbox!2463
This commit is contained in:
marcin mikołajczak
2023-04-22 21:35:28 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ const AccountGallery = () => {
))}
{!isLoading && attachments.size === 0 && (
<div className='empty-column-indicator'>
<div className='empty-column-indicator col-span-2 sm:col-span-3'>
<FormattedMessage id='account_gallery.none' defaultMessage='No media to show.' />
</div>
)}

View File

@ -77,7 +77,7 @@ const GroupGallery: React.FC<IGroupGallery> = (props) => {
))}
{(!isLoading && attachments.length === 0) && (
<div className='empty-column-indicator'>
<div className='empty-column-indicator col-span-2 sm:col-span-3'>
<FormattedMessage id='account_gallery.none' defaultMessage='No media to show.' />
</div>
)}