Center hidden VP badges in player cards
This commit is contained in:
parent
badf985f57
commit
deb657f5e8
2 changed files with 8 additions and 1 deletions
|
|
@ -262,6 +262,13 @@ body:has(.pr-game) {
|
|||
background: transparent;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.pr-game .score-hidden {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 28px;
|
||||
min-height: 28px;
|
||||
}
|
||||
.pr-game .score-button {
|
||||
padding: 0;
|
||||
min-height: 28px;
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ export function mountGame(
|
|||
) =>
|
||||
Number.isFinite(n)
|
||||
? `<button type="button" class="score-button" data-score="${i}" title="${esc(t("scoreDetails"))}" aria-label="${esc(`${t("scoreDetails")} · ${state.players[i].name} : ${n}`)}">${scoreToken(n)}</button>`
|
||||
: `<span title="${esc(t("scoreHidden"))}">${metric("vp", "?")}</span>`;
|
||||
: `<span class="score-hidden" title="${esc(t("scoreHidden"))}">${metric("vp", "?")}</span>`;
|
||||
let chatView;
|
||||
function configureChat() {
|
||||
if (!chat) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue