commit: b112739635ab4f17c32a78cca6c99c87f1adabb8
parent: db136f95105ea1e0a7a2a295d4aa67ee112d39c8
Author: Morgan Bazalgette <the@howl.moe>
Date: Fri, 30 Mar 2018 01:16:25 +0200
remove elephant on 404 pages
Diffstat:
3 files changed, 0 insertions(+), 24 deletions(-)
diff --git a/app/javascript/mastodon/components/missing_indicator.js b/app/javascript/mastodon/components/missing_indicator.js
@@ -4,8 +4,6 @@ import { FormattedMessage } from 'react-intl';
const MissingIndicator = () => (
<div className='regeneration-indicator missing-indicator'>
<div>
- <div className='regeneration-indicator__figure' />
-
<div className='regeneration-indicator__label'>
<FormattedMessage id='missing_indicator.label' tagName='strong' defaultMessage='Not found' />
<FormattedMessage id='missing_indicator.sublabel' defaultMessage='This resource could not be found' />
diff --git a/app/javascript/mastodon/components/status_list.js b/app/javascript/mastodon/components/status_list.js
@@ -82,8 +82,6 @@ export default class StatusList extends ImmutablePureComponent {
return (
<div className='regeneration-indicator'>
<div>
- <div className='regeneration-indicator__figure' />
-
<div className='regeneration-indicator__label'>
<FormattedMessage id='regeneration_indicator.label' tagName='strong' defaultMessage='Loading…' />
<FormattedMessage id='regeneration_indicator.sublabel' defaultMessage='Your home feed is being prepared!' />
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
@@ -2447,28 +2447,8 @@ a.status-card {
padding-top: 0;
}
- &__figure {
- background: url('../images/elephant_ui_working.svg') no-repeat center 0;
- width: 100%;
- height: 160px;
- background-size: contain;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- }
-
- &.missing-indicator {
- padding-top: 20px + 48px;
-
- .regeneration-indicator__figure {
- background-image: url('../images/elephant_ui_disappointed.svg');
- }
- }
&__label {
- margin-top: 200px;
-
strong {
display: block;
margin-bottom: 10px;