From c3095bbd1b2e87ef975d88d73889a391a6b78260 Mon Sep 17 00:00:00 2001 From: 0ip Date: Mon, 9 Apr 2012 15:16:40 +0200 Subject: [PATCH] improved userlist ux (prevent overlapping of objects) --- src/static/css/pad.css | 1 - src/static/js/pad_userlist.js | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/static/css/pad.css b/src/static/css/pad.css index 21f365e2..32430369 100644 --- a/src/static/css/pad.css +++ b/src/static/css/pad.css @@ -427,7 +427,6 @@ table#otheruserstable { display: none; } #nootherusers a { color: #3C88FF; } #otheruserstable td { - border-top: 1px solid #555; height: 26px; vertical-align: middle; padding: 0 2px; diff --git a/src/static/js/pad_userlist.js b/src/static/js/pad_userlist.js index 5a3f9b35..47ee63a7 100644 --- a/src/static/js/pad_userlist.js +++ b/src/static/js/pad_userlist.js @@ -1,4 +1,4 @@ -/** ++/** * This code is mostly from the old Etherpad. Please help us to comment this code. * This helps other people to understand this code better and helps them to improve it. * TL;DR COMMENTS ON THIS FILE ARE HIGHLY APPRECIATED @@ -120,7 +120,7 @@ var paduserlist = (function() nameHtml = ''; } - return ['
 
', '', nameHtml, '', '', padutils.escapeHtml(data.status), '', '', padutils.escapeHtml(data.activity), ''].join(''); + return ['
 
', '', nameHtml, '', '', padutils.escapeHtml(data.activity), ''].join(''); } function getRowHtml(id, innerHtml)