logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: b84d1533d42fd3abed9e8a9d86defa0264c309a8
parent: c2fbd144cf5aa5cafd486190c0fb31ffd73ccac1
Author: tom <tomfhowe@gmail.com>
Date:   Tue, 31 Jan 2017 13:06:03 -0500

Fix text overlapping image in Edge and on mobile (#582)

Changing the way the background image is positioned and the box is sized should fix problems with the text overlapping the image on mobile browsers and Edge.

Diffstat:

Mapp/assets/stylesheets/components.scss4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/assets/stylesheets/components.scss b/app/assets/stylesheets/components.scss @@ -684,8 +684,8 @@ box-sizing: border-box; overflow-y: auto; padding-bottom: 235px; - background: image-url('mastodon-getting-started.png') no-repeat 0 100% local; - height: 100%; + background: image-url('mastodon-getting-started.png') no-repeat 100% bottom; + height: auto; p { color: $color2;