fix layout shifts when using lang-icon
This commit is contained in:
1 parent
f856f34421
commit
7b7fd2e53f
1 file changed
+1
-2
@@ -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,
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user