From 8f47f6a7ec4bdbf0a540efe3a3f9c6b493b2dc34 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 1 Jan 2017 19:52:25 +0100 Subject: Adding remote follow button --- .../javascripts/components/features/account/components/header.jsx | 4 ++-- app/assets/stylesheets/components.scss | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'app/assets') diff --git a/app/assets/javascripts/components/features/account/components/header.jsx b/app/assets/javascripts/components/features/account/components/header.jsx index adf9ab5ae..6ae5ac002 100644 --- a/app/assets/javascripts/components/features/account/components/header.jsx +++ b/app/assets/javascripts/components/features/account/components/header.jsx @@ -61,10 +61,10 @@ const Header = React.createClass({ const displayNameHTML = { __html: emojify(escapeTextContentForBrowser(displayName)) }; return ( -
+
-
+
diff --git a/app/assets/stylesheets/components.scss b/app/assets/stylesheets/components.scss index 88808b085..290b370a9 100644 --- a/app/assets/stylesheets/components.scss +++ b/app/assets/stylesheets/components.scss @@ -147,6 +147,12 @@ } } +@media screen and (max-height: 800px) { + .account__header__avatar, .account__header__content { + display: none; + } +} + .account__header__content { word-wrap: break-word; font-weight: 300; @@ -585,4 +591,4 @@ pointer-events: none; bottom: 0; left: 0; -} \ No newline at end of file +} -- cgit