]> cat aescling's git repositories - mastodon.git/commitdiff
Fix text overlapping image in Edge and on mobile (#582)
authortom <tomfhowe@gmail.com>
Tue, 31 Jan 2017 18:06:03 +0000 (13:06 -0500)
committerEugen <eugen@zeonfederated.com>
Tue, 31 Jan 2017 18:06:03 +0000 (19:06 +0100)
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.

app/assets/stylesheets/components.scss

index 471fff11e96fa8559066738f9aaceff981452a36..e077fbca2f0a699f029ee4b7e58e82b639f69ba7 100644 (file)
   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;