Skip to content

Commit bc2ed07

Browse files
authored
fix: bottom alignment of resume skill grid (#163)
1 parent dbba928 commit bc2ed07

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

lib.typ

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -598,20 +598,16 @@
598598
/// Styling for resume skill categories.
599599
/// - category (string): The category
600600
#let resume-skill-category(category) = {
601-
align(left)[
602-
#set text(hyphenate: false)
603-
== #category
604-
]
601+
set text(size: 11pt, style: "normal", weight: "bold", hyphenate: false)
602+
category
605603
}
606604

607605
/// Styling for resume skill values/items
608606
/// - values (array): The skills to display
609607
#let resume-skill-values(values) = {
610-
align(left)[
611-
#set text(size: 11pt, style: "normal", weight: "light")
612-
// This is a list so join by comma (,)
613-
#values.join(", ")
614-
]
608+
set text(size: 11pt, style: "normal", weight: "light")
609+
// This is a list so join by comma (,)
610+
values.join(", ")
615611
}
616612

617613
/// Show a list of skills in the resume under a given category.
@@ -625,6 +621,7 @@
625621
#grid(
626622
columns: (3fr, 8fr),
627623
gutter: 10pt,
624+
align: left + top,
628625
resume-skill-category(category), resume-skill-values(items),
629626
)
630627
]
@@ -640,6 +637,7 @@
640637
#grid(
641638
columns: (auto, auto),
642639
gutter: 10pt,
640+
align: left + top,
643641
..categories-with-values
644642
.pairs()
645643
.map(((key, value)) => (

tests/resume/ref/1.png

-156 Bytes
Loading

0 commit comments

Comments
 (0)