Skip to content

Commit

Permalink
Revert "Change error graphic to hover-to-play (mastodon#10055)"
Browse files Browse the repository at this point in the history
*temp*

This reverts commit 80388a3.
  • Loading branch information
lindwurm committed Feb 18, 2019
1 parent d47aca2 commit c8554e6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 26 deletions.
13 changes: 0 additions & 13 deletions app/javascript/packs/error.js

This file was deleted.

14 changes: 6 additions & 8 deletions app/javascript/styles/mastodon/basics.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,12 @@ body {
vertical-align: middle;
margin: 20px;

&__illustration {
img {
display: block;
max-width: 470px;
width: 100%;
height: auto;
margin-top: -120px;
}
img {
display: block;
max-width: 470px;
width: 100%;
height: auto;
margin-top: -120px;
}

h1 {
Expand Down
7 changes: 2 additions & 5 deletions app/views/layouts/error.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@
%meta{ content: 'width=device-width,initial-scale=1', name: 'viewport' }/
= stylesheet_pack_tag 'common', media: 'all'
= stylesheet_pack_tag Setting.default_settings['theme'], media: 'all'
= javascript_pack_tag 'common', integrity: true, crossorigin: 'anonymous'
= javascript_pack_tag 'error', integrity: true, crossorigin: 'anonymous'
%body.error
.dialog
.dialog__illustration
%img{ alt: Setting.default_settings['site_title'], src: '/oops.png' }/
.dialog__message
%img{ alt: Setting.default_settings['site_title'], src: '/oops.gif' }/
%div
%h1= yield :content
Binary file removed public/oops.png
Binary file not shown.

0 comments on commit c8554e6

Please sign in to comment.