From 666375fed1d3d8f35691c95cf9cd952e5eb43d20 Mon Sep 17 00:00:00 2001 From: Friendica Date: Thu, 19 Apr 2018 20:09:19 +0000 Subject: [PATCH] Move new member tips to tab bar. The new member tips link looks very misplaced and forlorn at the current position. Move it to the tab-bar (in a somewhat crude fashion, but its for 14 days/user only.) --- mod/profile.php | 2 +- view/global.css | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/mod/profile.php b/mod/profile.php index ab11b4d5fe..d6cbd276ff 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -191,7 +191,7 @@ function profile_content(App $a, $update = 0) $o .= Widget::commonFriendsVisitor($a->profile['profile_uid']); if (x($_SESSION, 'new_member') && $is_owner) { - $o .= '' . L10n::t('Tips for New Members') . '' . EOL; + $o .= '
' . L10n::t('Tips for New Members') . '
'; } $commpage = $a->profile['page-flags'] == PAGE_COMMUNITY; diff --git a/view/global.css b/view/global.css index c23cba31b3..9d62cf0306 100644 --- a/view/global.css +++ b/view/global.css @@ -206,6 +206,13 @@ blockquote.shared_content { overflow: hidden; } +#newmember-tips { + font-size: 1.2em; + float: right; + margin-top: -32px; + padding-right: 10px; +} + /* headers */ h1, h2, h3, h4, h5, h6 { margin: 5px 0px 5px 0px;