diff options
| author | Ahmed Abdelhalim <[email protected]> | 2024-01-21 20:59:08 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2024-01-21 20:59:08 +0100 |
| commit | 6e8011d0ea093b8b8d304c881ebf128415fd75de (patch) | |
| tree | 0bbdfa2587ed7a529e9768c76440f060cc02f084 /assets | |
| parent | f8689feb1bdccbc2010b62bd624301bb5d622f2c (diff) | |
Update print to show only the first 4 position tasks
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/scss/print/_work.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/assets/scss/print/_work.scss b/assets/scss/print/_work.scss index 2189869..a2779cb 100644 --- a/assets/scss/print/_work.scss +++ b/assets/scss/print/_work.scss @@ -8,6 +8,14 @@ .work__experience { page-break-inside: avoid; + + // only show the first 4 jobs completely and hide the details of the + // rest of the older jobs (but keep the names in the CV) + &:not(&:nth-child(-n+5)) { + > .tasks, .footnote { + display: none; + } + } } // Style the Company name links in the PDF with thicker underline |
