Skip to content

Commit

Permalink
fixing cv mobile and print appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
matttrent committed Dec 4, 2024
1 parent 8edf014 commit 2afd1e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/CVList.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const sortedDateGroups = groupAndSortByDate(items, {
});
---

<dl class="dl-horizontal">
<dl class="dl-horizontal CVList">
{
sortedDateGroups.map(([dates, items]) => (
<>
Expand Down
10 changes: 6 additions & 4 deletions src/pages/cv.astro
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ const pageTitle = "Matthew Trentacoste";
article > section > * {
grid-column: page-start / page-end;
}

.CVList dd {
padding-top: 1rem;
}
}

header {
Expand Down Expand Up @@ -102,12 +106,10 @@ const pageTitle = "Matthew Trentacoste";

/* reduce width of dl-horizontal dd elements */
.dl-horizontal dt {
width: 4rem; /* this should be moved to ArtifactsList */
padding-bottom: 0px;
padding-top: 0.5rem !important;
}
.dl-horizontal dd {
margin-left: 5.333rem; /* this should be moved to ArtifactsList */
padding-bottom: 0px;
padding-top: 0.5rem !important;
}

/* pagebreak before section */
Expand Down

0 comments on commit 2afd1e3

Please sign in to comment.