show game perf icon in user tooltip
This commit is contained in:
parent
4a979a5e86
commit
561cb2c45b
|
@ -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)
|
||||
)
|
||||
)
|
||||
}
|
||||
|
|
|
@ -87,8 +87,8 @@
|
|||
}
|
||||
}
|
||||
&__game-legend {
|
||||
text-align: center;
|
||||
padding: .2em 0;
|
||||
@extend %flex-between;
|
||||
padding: .2em 1em;
|
||||
}
|
||||
}
|
||||
#miniGame {
|
||||
|
|
Loading…
Reference in a new issue