show podium titles, reduce letter spacing - closes #4288

pull/4307/head
Thibault Duplessis 2018-04-26 04:43:45 +02:00
parent 8afeae4d7a
commit 0aa587d0ea
2 changed files with 3 additions and 2 deletions

View File

@ -173,6 +173,7 @@ div.create_tournament {
}
#tournament .podium .user_link {
font-weight: bold;
letter-spacing: -1px;
}
#tournament .podium .stats {
margin: 0.5em auto 0 auto;

View File

@ -1,7 +1,7 @@
import { h } from 'snabbdom'
import { VNode } from 'snabbdom/vnode';
import TournamentController from '../ctrl';
import { player as renderPlayer, ratio2percent, bind, dataIcon } from './util';
import { player as renderPlayer, ratio2percent, bind, dataIcon, playerName } from './util';
import { MaybeVNodes } from '../interfaces';
import * as button from './button';
import * as pagination from '../pagination';
@ -45,7 +45,7 @@ function playerTr(ctrl: TournamentController, player) {
function podiumUsername(p) {
return h('a.text.ulpt.user_link', {
attrs: { href: '/@/' + p.name }
}, p.name);
}, playerName(p));
}
function podiumStats(p, trans): VNode {