]> cat aescling's git repositories - mastodon.git/commitdiff
Perfectly center mastodon logo on mobile landing page (#4339)
authorLynx Kotoura <lynx@lv9.org>
Mon, 24 Jul 2017 14:52:47 +0000 (23:52 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 24 Jul 2017 14:52:47 +0000 (16:52 +0200)
Setting only padding-left made the logo left-shifted on mobile page. Margin-right was old setting for adjusting clearance between old logo and letter "Mastodon".

app/javascript/styles/about.scss

index 01a34153864ed88e1ac278d6209d0f04de59dd41..daf0e4ac53842794278d0fa7c3fbf2a6fa3f5f4d 100644 (file)
       .brand {
         a {
           padding-left: 0;
+          padding-right: 0;
           color: $white;
         }
 
         img {
           height: 32px;
-          margin-right: 10px;
           position: relative;
           top: 4px;
           left: -10px;
       .links .brand img {
         left: 0;
         top: 0;
-        margin-right: 0;
       }
 
       .hero {