Skip to content

Commit

Permalink
Refactor usage of prose (#1392)
Browse files Browse the repository at this point in the history
  • Loading branch information
billy clark authored Apr 28, 2022
1 parent 46eb350 commit 4806c61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
12 changes: 0 additions & 12 deletions next-app/src/lib/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,4 @@
@tailwind utilities;

@layer base {
body {
@apply
/* https://tailwindcss.com/docs/typography-plugin */
prose

max-w-none;
}

/* this was needed to override prose's effects on a's... */
ul.menu li a {
text-decoration: none;
}
}
3 changes: 2 additions & 1 deletion next-app/src/routes/__layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
<div class=drawer-content>
<Header on:menuopen={open} />

<main class=px-6>
<!-- https://tailwindcss.com/docs/typography-plugin -->
<main class='prose max-w-none px-6'>
<slot />
</main>
</div>
Expand Down

0 comments on commit 4806c61

Please sign in to comment.