From 955d5d36e80259d8c10a0246d359f35f63de059d Mon Sep 17 00:00:00 2001 From: ThibG Date: Sun, 15 Jul 2018 01:18:09 +0200 Subject: Use LoadingBar instead of blur to indicate that an image is loading (fixes #4060) (#7562) --- app/javascript/styles/mastodon/components.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/javascript/styles') diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 5fa73d58a..b3d8f135f 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -1478,6 +1478,7 @@ a.account__display-name { display: flex; align-items: center; justify-content: center; + flex-direction: column; .image-loader__preview-canvas { max-width: $media-modal-media-max-width; @@ -1486,8 +1487,8 @@ a.account__display-name { object-fit: contain; } - &.image-loader--loading .image-loader__preview-canvas { - filter: blur(2px); + .loading-bar { + position: relative; } &.image-loader--amorphous .image-loader__preview-canvas { -- cgit