From 4ee974de510b04d4528bc0071f44b956af98904f Mon Sep 17 00:00:00 2001 From: HuParry Date: Mon, 16 Nov 2026 17:34:15 +0800 Subject: [PATCH] fix(scoreboard-xcpcio): crop user avatars to squares --- packages/scoreboard-xcpcio/templates/xcpcio_board.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/scoreboard-xcpcio/templates/xcpcio_board.html b/packages/scoreboard-xcpcio/templates/xcpcio_board.html index a888c3d227..bc080b7a08 100644 --- a/packages/scoreboard-xcpcio/templates/xcpcio_board.html +++ b/packages/scoreboard-xcpcio/templates/xcpcio_board.html @@ -29,6 +29,10 @@ th { text-align: center; } td.unattempted, td.empty { background-color: transparent !important; } #app main { overflow-y: auto; overflow-x: hidden; } + #app img[alt="badge"], #app img[alt="team badge"] { + aspect-ratio: 1; + object-fit: cover; + }