show podium titles, reduce letter spacing - closes #4288
parent
8afeae4d7a
commit
0aa587d0ea
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue