From 7b7fd2e53fd9a2ea811a4b46c21738f40e30a679 Mon Sep 17 00:00:00 2001 From: Felix Dimmerling Date: Sun, 26 Oct 2025 13:19:22 +0100 Subject: [PATCH] fix layout shifts when using lang-icon --- codly-languages/lib.typ | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/codly-languages/lib.typ b/codly-languages/lib.typ index f7287a2..217ea40 100644 --- a/codly-languages/lib.typ +++ b/codly-languages/lib.typ @@ -14,8 +14,7 @@ // helper function which takes an image filename and creates an icon let __icon(image-filename) = { box( - image("icons/" + image-filename, height: 0.9em), - baseline: 0.05em, + image("icons/" + image-filename, height: 130%, fit: "contain"), inset: 0pt, outset: 0pt, )