]> git.mxchange.org Git - friendica.git/commitdiff
Move new member tips to tab bar.
authorFriendica <friendica@friendica.astifter.com>
Thu, 19 Apr 2018 20:09:19 +0000 (20:09 +0000)
committerAndreas Neustifter <andreas.neustifter@gmail.com>
Sun, 22 Apr 2018 20:44:22 +0000 (20:44 +0000)
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
view/global.css

index ab11b4d5fe509850c97c48fdc9e4346feb9f9215..d6cbd276ff59ccb812fd84ca42dc4ec2d3ffac9a 100644 (file)
@@ -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 .= '<a href="newmember" id="newmember-tips" style="font-size: 1.2em;"><b>' . L10n::t('Tips for New Members') . '</b></a>' . EOL;
+                       $o .= '<div id="newmember-tips"><a href="newmember"><b>' . L10n::t('Tips for New Members') . '</b></a></div>';
                }
 
                $commpage = $a->profile['page-flags'] == PAGE_COMMUNITY;
index c23cba31b3c088da62bc80b18ebe4f42f16af33c..9d62cf03061619bd5b5c556a7b2159387f2802c9 100644 (file)
@@ -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;