]> cat aescling's git repositories - mastodon.git/commitdiff
Fix the position of the Mastodon mascot in the UI
authorJessica Stokes <hello@jessicastokes.net>
Mon, 3 Apr 2017 03:16:14 +0000 (13:16 +1000)
committerJessica Stokes <hello@jessicastokes.net>
Mon, 3 Apr 2017 03:16:14 +0000 (13:16 +1000)
The Mastodon mascot was previously anchored to the bottom, and that was since broken. This restores that behaviour!

It also disables the double-scrollbar behaviour that was caused by this area allowing overflow-y in addition to its parent doing so.

app/assets/stylesheets/components.scss

index f8003e5fd7c26923e57b05576194a6a267c0be4a..d233b3471a2ac711fa20c41cfe17f2da0840e1ee 100644 (file)
@@ -1149,10 +1149,9 @@ a.status__content__spoiler-link {
 
 .getting-started {
   box-sizing: border-box;
-  overflow-y: auto;
   padding-bottom: 235px;
   background: image-url('mastodon-getting-started.png') no-repeat 0 100% local;
-  height: 100%;
+  flex: 1 0 auto;
 
   p {
     color: $color2;