mitchelloharawild/vitae

(Feature request) Vertical alignment of 'when' and 'with' for brief entries in the awesome cv template.

joshua-ajones opened this issue · 0 comments

When creating brief entries in vitae using the awesome cv template, data in the 'when' and 'with' columns are vertically aligned to the middle, which means you can only add a single line of text in the 'what' column. I can't find a feature to alter this, but is it possible to align them to the top? I want to incorporate 2-3 lines of text in the 'what' column while maintaining the compactness of the brief entries. Here is a reproducible example of what I'm currently getting:

---
name: Joe
surname: Bloggs
position: "Generic Person"
# address: ""
phone: 0800 001066
# www: 
email: "joebloggs@gmail.com"
twitter: Joe_Bloggs
# github: 
# linkedin: 
headcolor: 0B90B4
date: "`r format(Sys.time(), '%B %Y')`"
header-includes:
  \usepackage{float}
  \usepackage{colortbl}
    \arrayrulecolor{white}
output: 
  vitae::awesomecv:
    page_total: true
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, warning = FALSE, message = FALSE)
library(vitae)
library(tidyverse)

# Grants and Awards
```{r}
awards <- tribble(
  ~Year, ~Type, ~ Value,
  "2022", "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.", "£500",
  "2021", "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.", "£600",
  "2020", "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.", "£1000") 

awards %>%
  brief_entries(
    when = Year,
    what = Type,
    with = Value
    )

It would also be great to be able to fully justify the 'what' text too. Is there any way I could do this by modifying the .css file for now?