Skip to content

Commit

Permalink
Merge pull request #142 from brown-ccv/feat-blog-format
Browse files Browse the repository at this point in the history
feat: add max width to blog posts
  • Loading branch information
Ashley S. Lee authored Feb 7, 2024
2 parents 6846681 + d9b3c4a commit 17c4cb4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/base/AuthorCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</div>
</template>
<template #footer>
<div class="content">{{ person.bio }}</div>
<div>{{ person.bio }}</div>
</template>
</DCard>
</div>
Expand Down
16 changes: 16 additions & 0 deletions pages/blog/_slug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,19 @@ export default {
},
};
</script>

<style>
.container {
padding: 48px;
}
.content {
/* ... */
display: grid;
grid-template-columns: 1fr min(100ch, 100%) 1fr;
}
.content > * {
grid-column: 2;
}
</style>

0 comments on commit 17c4cb4

Please sign in to comment.