Skip to content

Commit

Permalink
fix(uiux): 🐛 add some horizontal padding
Browse files Browse the repository at this point in the history
  • Loading branch information
vanntile committed Apr 10, 2022
1 parent f769f77 commit feb1227
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/layouts/BlogLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const reading = readingTime(content.astro.source)
---

<BaseLayout {content}>
<main class="w-full pt-8 pb-32 mx-auto xl:px-6 xl:text-lg 2xl:text-xl max-w-prose 2xl:max-w-6xl">
<main class="w-full px-6 pt-8 pb-32 mx-auto xl:text-lg 2xl:text-xl max-w-prose 2xl:max-w-6xl">
<article>
<h1>{title}</h1>
<div class="font-bold text-gray-400 dark:text-brand-secondary">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/blog/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const posts = (await Astro.glob<PageMeta>('./*.md')).sort(
---

<BaseLayout {content}>
<main class="w-full pt-8 pb-32 mx-auto xl:px-6 xl:text-lg 2xl:text-xl max-w-prose 2xl:max-w-6xl">
<main class="w-full px-6 pt-8 pb-32 mx-auto xl:text-lg 2xl:text-xl max-w-prose 2xl:max-w-6xl">
<h1>Blog posts</h1>
{posts.map((post) => (
<div class="py-4">
Expand Down

0 comments on commit feb1227

Please sign in to comment.