fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-12-28 12:57 pm

[dw-free] directory search results: short/missing userpics misaligned

[commit: http://hg.dwscoalition.org/dw-free/rev/ac7055e44342]

http://bugs.dwscoalition.org/show_bug.cgi?id=1109

Fix alignment if an account has no userpic or a small default userpic.

Patch by [personal profile] kareila.

Files modified:
  • htdocs/stc/directory.css
--------------------------------------------------------------------------------
diff -r b113414a301b -r ac7055e44342 htdocs/stc/directory.css
--- a/htdocs/stc/directory.css	Tue Dec 28 20:54:20 2010 +0800
+++ b/htdocs/stc/directory.css	Tue Dec 28 20:56:53 2010 +0800
@@ -20,12 +20,20 @@ div.UsersContainer {
 #SearchResults {
     margin-left: auto;
     margin-right: auto;
-    width: 80%;
+    width: 90%;
+}
+
+td.SearchResult {
+    text-align: center;
+    vertical-align: bottom;
+    padding: .5em;
 }
 
 div.ResultUserpic {
     width: 100px;
     height: 100px;
+    display: inline;
+    padding: .5em;
 }
 
 div.NewSearch {
--------------------------------------------------------------------------------