From ca7f36bdc0c315953dcaa2254e0ec1b1161121cc Mon Sep 17 00:00:00 2001 From: Thomas Schneider <thomas@fsmpi.rwth-aachen.de> Date: Thu, 12 Sep 2024 16:32:43 +0200 Subject: [PATCH] Set `object-fit: contain` on image chooser --- frontend/src/main.less | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/main.less b/frontend/src/main.less index aad7a08..966bf21 100644 --- a/frontend/src/main.less +++ b/frontend/src/main.less @@ -263,6 +263,7 @@ main { & > img { border: @option_border solid var(--bg); border-radius: 2 * @option_border; + object-fit: contain; } } -- GitLab