Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
joshua-ajones opened this issue Jun 12, 2022 · 0 comments

Comments

@joshua-ajones
Copy link

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: "[email protected]"
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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant