show podium titles, reduce letter spacing - closes #4288
This commit is contained in:
parent
8afeae4d7a
commit
0aa587d0ea
|
@ -173,6 +173,7 @@ div.create_tournament {
|
||||||
}
|
}
|
||||||
#tournament .podium .user_link {
|
#tournament .podium .user_link {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
letter-spacing: -1px;
|
||||||
}
|
}
|
||||||
#tournament .podium .stats {
|
#tournament .podium .stats {
|
||||||
margin: 0.5em auto 0 auto;
|
margin: 0.5em auto 0 auto;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { h } from 'snabbdom'
|
import { h } from 'snabbdom'
|
||||||
import { VNode } from 'snabbdom/vnode';
|
import { VNode } from 'snabbdom/vnode';
|
||||||
import TournamentController from '../ctrl';
|
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 { MaybeVNodes } from '../interfaces';
|
||||||
import * as button from './button';
|
import * as button from './button';
|
||||||
import * as pagination from '../pagination';
|
import * as pagination from '../pagination';
|
||||||
|
@ -45,7 +45,7 @@ function playerTr(ctrl: TournamentController, player) {
|
||||||
function podiumUsername(p) {
|
function podiumUsername(p) {
|
||||||
return h('a.text.ulpt.user_link', {
|
return h('a.text.ulpt.user_link', {
|
||||||
attrs: { href: '/@/' + p.name }
|
attrs: { href: '/@/' + p.name }
|
||||||
}, p.name);
|
}, playerName(p));
|
||||||
}
|
}
|
||||||
|
|
||||||
function podiumStats(p, trans): VNode {
|
function podiumStats(p, trans): VNode {
|
||||||
|
|
Loading…
Reference in a new issue