DeveloperPaul123 / modern-cv

A modern resume template written in Typst, inspired by Awesome-CV
https://typst.app/universe/package/modern-cv
Other
232 stars 43 forks source link

`#resume-entry` does not scale #35

Closed TomVer99 closed 4 months ago

TomVer99 commented 4 months ago

I have a #resume-entry where I only use title and date. But the entry takes up quite a bit of height.

image

#resume-entry(
  title: "TEXT",
  date: "DATE",
)

I expected it to collapse in some way.

DeveloperPaul123 commented 4 months ago

Hmm I'm currently on mobile so I'm not 100% sure, but I think the fields title and location should appear on the same line. Same for position and date.

Basically the fields are set up in 2 columns and 2 rows.

TomVer99 commented 4 months ago

Hmm I'm currently on mobile so I'm not 100% sure, but I think the fields title and location should appear on the same line. Same for position and date.

Basically the fields are set up in 2 columns and 2 rows.

It could he nice that if only 2 fields are populated, it would be 2 columns but 1 row, now there is some odd white space when only 2 are used (in specific combinations).

DeveloperPaul123 commented 4 months ago

While it would be nice, I think it's beyond the scope of resume-entry to adapt in this way, based solely on the number of inputs given.

I think the best alternative would be to use the helper functions that resume-entry is using internally to get your desired output.

See #justified-header() and #secondary-justified-header()