Improved tailwind theme's layout for desktop

This commit is contained in:
Belle Aerni 2023-01-10 04:53:49 -08:00
parent cb0a1917a9
commit 22007f4c57
3 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

View file

@ -41,11 +41,11 @@
</nav> </nav>
<!-- Content --> <!-- Content -->
<div class="container mx-auto px-4 my-4"> <div class="container mx-auto my-4">
<div class="flex flex-wrap -mx-4"> <div class="flex flex-wrap -mx-4">
<div class="w-1/12 px-4"></div> <div class="w-1/12"></div>
<div class="w-10/12 px-4 prose dark:prose-invert"><!--AntCMS-Body--></div> <div class="w-10/12 prose dark:prose-invert max-w-none"><!--AntCMS-Body--></div>
<div class="w-1/12 px-4"></div> <div class="w-1/12"></div>
</div> </div>
</div> </div>

View file

@ -1,6 +1,6 @@
/** @type {import('tailwindcss').Config} */ /** @type {import('tailwindcss').Config} */
module.exports = { module.exports = {
content: ["./src/Themes/Default/Templates/*.{html,js}"], content: ["./src/Themes/Default/Templates/*.{twig,html,js}"],
theme: { theme: {
extend: { extend: {
typography ({ theme }) { typography ({ theme }) {