show game perf icon in user tooltip

This commit is contained in:
Thibault Duplessis 2019-05-01 08:20:33 +07:00
parent 4a979a5e86
commit 561cb2c45b
2 changed files with 6 additions and 6 deletions

View file

@ -70,10 +70,10 @@ object mini {
frag(
gameFen(pov),
div(cls := "upt__game-legend")(
playerText(pov.opponent, withRating = true),
pov.game.clock map { c =>
frag(" • ", c.config.show)
}
i(dataIcon := pov.game.perfType.map(_.iconChar.toString), cls := "text")(
pov.game.clock.map(_.config.show)
),
playerText(pov.opponent, withRating = true)
)
)
}

View file

@ -87,8 +87,8 @@
}
}
&__game-legend {
text-align: center;
padding: .2em 0;
@extend %flex-between;
padding: .2em 1em;
}
}
#miniGame {