From d687a6a59b74af4c820299cf82d6ed532a64156a Mon Sep 17 00:00:00 2001 From: mecab Date: Sun, 23 Apr 2017 05:28:54 +0900 Subject: [PATCH] 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 0d3ddccd7b..425f44d956 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;