sforkowany z mirror/soapbox
Merge branch 'tombstone-fix' into 'develop'
Fix Tombstone margins in threads, fixes #971 Closes #971 See merge request soapbox-pub/soapbox-fe!1431ci-review-rules
commit
c749738e4b
|
@ -6,7 +6,7 @@ import { Text } from 'soapbox/components/ui';
|
|||
/** Represents a deleted item. */
|
||||
const Tombstone: React.FC = () => {
|
||||
return (
|
||||
<div className='my-4 p-9 flex items-center justify-center sm:rounded-xl bg-gray-100 border border-solid border-gray-200 dark:bg-slate-900 dark:border-slate-700'>
|
||||
<div className='p-9 flex items-center justify-center sm:rounded-xl bg-gray-100 border border-solid border-gray-200 dark:bg-slate-900 dark:border-slate-700'>
|
||||
<Text>
|
||||
<FormattedMessage id='statuses.tombstone' defaultMessage='One or more posts is unavailable.' />
|
||||
</Text>
|
||||
|
|
|
@ -561,7 +561,7 @@ class Status extends ImmutablePureComponent<IStatus, IStatusState> {
|
|||
|
||||
renderTombstone(id: string) {
|
||||
return (
|
||||
<div className='pb-4'>
|
||||
<div className='py-4 pb-8'>
|
||||
<Tombstone key={id} />
|
||||
</div>
|
||||
);
|
||||
|
|
Ładowanie…
Reference in New Issue