improved userlist ux (prevent overlapping of objects)
This commit is contained in:
parent
60eea0a3cf
commit
c3095bbd1b
|
@ -427,7 +427,6 @@ table#otheruserstable { display: none; }
|
||||||
#nootherusers a { color: #3C88FF; }
|
#nootherusers a { color: #3C88FF; }
|
||||||
|
|
||||||
#otheruserstable td {
|
#otheruserstable td {
|
||||||
border-top: 1px solid #555;
|
|
||||||
height: 26px;
|
height: 26px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
padding: 0 2px;
|
padding: 0 2px;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/**
|
+/**
|
||||||
* This code is mostly from the old Etherpad. Please help us to comment this code.
|
* 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.
|
* This helps other people to understand this code better and helps them to improve it.
|
||||||
* TL;DR COMMENTS ON THIS FILE ARE HIGHLY APPRECIATED
|
* TL;DR COMMENTS ON THIS FILE ARE HIGHLY APPRECIATED
|
||||||
|
@ -120,7 +120,7 @@ var paduserlist = (function()
|
||||||
nameHtml = '<input type="text" class="editempty newinput" value="unnamed" ' + (isNameEditable(data) ? '' : 'disabled="disabled" ') + '/>';
|
nameHtml = '<input type="text" class="editempty newinput" value="unnamed" ' + (isNameEditable(data) ? '' : 'disabled="disabled" ') + '/>';
|
||||||
}
|
}
|
||||||
|
|
||||||
return ['<td style="height:', height, 'px" class="usertdswatch"><div class="swatch" style="background:' + data.color + '"> </div></td>', '<td style="height:', height, 'px" class="usertdname">', nameHtml, '</td>', '<td style="height:', height, 'px" class="usertdstatus">', padutils.escapeHtml(data.status), '</td>', '<td style="height:', height, 'px" class="activity">', padutils.escapeHtml(data.activity), '</td>'].join('');
|
return ['<td style="height:', height, 'px" class="usertdswatch"><div class="swatch" style="background:' + data.color + '"> </div></td>', '<td style="height:', height, 'px" class="usertdname">', nameHtml, '</td>', '<td style="height:', height, 'px" class="activity">', padutils.escapeHtml(data.activity), '</td>'].join('');
|
||||||
}
|
}
|
||||||
|
|
||||||
function getRowHtml(id, innerHtml)
|
function getRowHtml(id, innerHtml)
|
||||||
|
|
Loading…
Reference in New Issue