Browse Source

Two CSS Bugs in Profiles

!bugfix - The user status was not on it's own line which caused "Show
Posts" to be bumped way to the right if there were a lot of social
icons or their screen size was small.

!bugfix - There was an extra character after usernames that shouldn't
exist.

The user status issue was pointed out by Scotty Christianson and a
partial fix was displayed in his comment.

Sign-Off: Matthew Kerle <[email protected]>
Matthew Kerle 12 years ago
parent
commit
37d58be787
2 changed files with 5 additions and 2 deletions
  1. 3 1
      Themes/default/Profile.template.php
  2. 2 1
      Themes/default/css/index.css

+ 3 - 1
Themes/default/Profile.template.php

@@ -58,7 +58,9 @@ function template_summary()
 	<div id="basicinfo">
 		<div class="windowbg">
 			<div class="content flow_auto">
-				<div class="username"><h4>', $context['member']['name'], ' <span class="position">', (!empty($context['member']['group']) ? $context['member']['group'] : $context['member']['post_group']), '</span></h4></div>
+				<div class="username">
+					<h4>', $context['member']['name'], '<span class="position">', (!empty($context['member']['group']) ? $context['member']['group'] : $context['member']['post_group']), '</span></h4>
+				</div>
 				', $context['member']['avatar']['image'], '
 				<ul class="reset">';
 	// @TODO fix the <ul> when no fields are visible

+ 2 - 1
Themes/default/css/index.css

@@ -3032,9 +3032,10 @@ dl {
 	margin-right: 5px;
 	height: 20px;
 }
-#basicinfo#userstatus {
+#basicinfo #userstatus {
 	display: block;
 	clear: both;
+	margin-top: 6px;
 }
 #basicinfo #userstatus img {
 	vertical-align: middle;