Skip to content

Commit

Permalink
feat: add max width to blog posts
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleysyg committed Jan 25, 2024
1 parent 6846681 commit 6bc9962
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pages/blog/_slug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,15 @@ export default {
},
};
</script>

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

0 comments on commit 6bc9962

Please sign in to comment.