Removing max-width in Tailwind Prose


Tailwind Prose is an extension for Tailwind CSS that provides beautifully styled typography.

By default, Prose sets a maximum width, which can be disabled using max-w-none. If you want to always disable the maximum width, it is recommended to set it as the default in the configuration file.

const defaultTheme = require('tailwindcss/defaultTheme');

module.exports = {
    content: [

    theme: {
        extend: {
            fontFamily: {
                sans: ['Nunito', ...defaultTheme.fontFamily.sans],
            typography: {
                DEFAULT: {
                    css: {
                        maxWidth: 'none'

    plugins: [

The relevant part is within lines 15-21. Here, the default maximum width is removed.