round table user icon margin

This commit is contained in:
Thibault Duplessis 2014-12-24 22:21:59 +01:00
parent 9d22c77c50
commit 75b0e0ecae

View file

@ -17,7 +17,7 @@ module.exports = function(ctrl, player, klass) {
if (isUpdate) return;
el.classList.add('ulpt');
},
class: 'user_link ' + (player.user.online ? 'online is-green' : 'offline') + (klass ? ' ' + klass : ''),
class: 'text user_link ' + (player.user.online ? 'online is-green' : 'offline') + (klass ? ' ' + klass : ''),
href: '/@/' + player.user.username,
target: game.isPlayerPlaying(ctrl.data) ? '_blank' : null,
'data-icon': 'r',
@ -25,7 +25,7 @@ module.exports = function(ctrl, player, klass) {
(player.user.title ? player.user.title + ' ' : '') + player.user.username,
rating ? ' (' + rating + ')' : '',
ratingDiff(player),
player.engine ? m('span[data-icon=j]', {
player.engine ? m('span.text[data-icon=j]', {
title: ctrl.trans('thisPlayerUsesChessComputerAssistance')
}) : null
]),