From 1646ca75f02f21e058d11885edd4ae9b5d7ff8cd Mon Sep 17 00:00:00 2001 From: mecab Date: Sun, 23 Apr 2017 05:28:54 +0900 Subject: Fix character images' sizing to make it robust (#2327) --- app/assets/stylesheets/components.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/components.scss b/app/assets/stylesheets/components.scss index 0d3ddccd7..425f44d95 100644 --- a/app/assets/stylesheets/components.scss +++ b/app/assets/stylesheets/components.scss @@ -1268,7 +1268,7 @@ a.status__content__spoiler-link { .getting-started { box-sizing: border-box; padding-bottom: 235px; - background: image-url('mastodon-getting-started.png') no-repeat 0 100% local; + background: image-url('mastodon-getting-started.png') no-repeat 0 100%/contain local; flex: 1 0 auto; p { @@ -2203,7 +2203,7 @@ button.icon-button.active i.fa-retweet { } .onboarding-modal__page-one__elephant-friend { - background: image-url('elephant-friend.png') no-repeat 0 0; + background: image-url('elephant-friend.png') no-repeat center center/contain; width: 147px; height: 160px; margin-right: 10px; -- cgit