]> cat aescling's git repositories - mastodon.git/commitdiff
Reduce height of media query to hide avatar/bio
authorAnthony Bellew <anthonyreflected@gmail.com>
Tue, 3 Jan 2017 18:55:36 +0000 (11:55 -0700)
committerGitHub <noreply@github.com>
Tue, 3 Jan 2017 18:55:36 +0000 (11:55 -0700)
An additional selector was provided to make the bio only hide on the timeline and not on the user page itself.

app/assets/stylesheets/components.scss

index 832b9e9b1bfd4a06fd802264a3c46a910c2590cc..acfa85c6bdcd03c322ac45df5a01ea45f7de2340 100644 (file)
   }
 }
 
-@media screen and (max-height: 800px) {
-  .account__header__avatar, .account__header__content {
+@media screen and (max-height: 480px) {
+  .account__header__avatar, .account__header .account__header__content {
     display: none;
   }
 }