diff --git a/app/javascript/styles/mastodon/containers.scss b/app/javascript/styles/mastodon/containers.scss index e90a08c7c..1520009ec 100644 --- a/app/javascript/styles/mastodon/containers.scss +++ b/app/javascript/styles/mastodon/containers.scss @@ -1,10 +1,9 @@ -div#auth-bground { +div#auth-bground > img { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; - background: url(http://localhost:3000/packs/media/images/preview-5df98290371ead9a70bc3cd4733bbfa7.jpg); z-index: -5; filter: blur(50px) opacity(0.5); } diff --git a/app/views/layouts/auth.html.haml b/app/views/layouts/auth.html.haml index 94629e59f..72705eb32 100644 --- a/app/views/layouts/auth.html.haml +++ b/app/views/layouts/auth.html.haml @@ -3,6 +3,7 @@ - content_for :content do %div#auth-bground + = image_tag @instance_presenter.hero&.file&.url || @instance_presenter.thumbnail&.file&.url || asset_pack_path('media/images/preview.jpg'), alt: @instance_presenter.site_title .container-alt .logo-container{ "style" => "margin:0 !important"} = link_to root_url, class: 'brand' do