fix: added plugins back

This commit is contained in:
glazk0 2024-04-06 19:48:25 +02:00
parent c0feb9bd5e
commit 805abef208
No known key found for this signature in database
GPG key ID: E45BF177782B9FEB
2 changed files with 8 additions and 4 deletions

View file

@ -22,12 +22,12 @@
</script>
<div class="flex h-full w-full flex-col justify-between gap-4">
<h1 class="text-xl font-bold">
<h2 class="text-xl font-bold">
{puzzle.name}
<span class="text-lg text-muted-foreground">({puzzle.scoreMax} points)</span>
</h1>
</h2>
<article
class="prose-invert prose-a:text-primary prose-a:hover:text-primary/80 prose-pre:rounded h-screen max-w-none overflow-y-auto font-fira"
class="prose-invert prose-a:text-primary prose-pre:rounded h-screen max-w-none overflow-y-auto break-normal font-fira"
>
<CopyCodeInjector>
{@html puzzle.content}

View file

@ -4,7 +4,7 @@ import { fontFamily } from "tailwindcss/defaultTheme";
const config = {
darkMode: ["class"],
content: ["./src/**/*.{html,js,svelte,ts}"],
safelist: ["dark"],
safelist: ["dark"],
theme: {
container: {
center: true,
@ -67,6 +67,10 @@ const config = {
hoverOnlyWhenSupported: true
}
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
],
};
export default config;