Skip to content

Disable CSS Grid using grid: false #1451

@Dan503

Description

@Dan503

This issue is in reference to this comment:
#1274 (comment)

@nelson6e65 wanted to disable CSS Grid from being output into the CSS file.

This is the config he had to implement to accomplish this:

corePlugins: {
        gap: false,
        columnGap: false,
        rowGap: false,
        gridColumn: false,
        gridColumnEnd: false,
        gridColumnStart: false,
        gridRow: false,
        gridRowEnd: false,
        gridRowStart: false,
        gridTemplateColumns: false,
        gridTemplateRows: false,
        gridAutoFlow: false,
},

That is a lot of config just to completly disable CSS Grid.

Ideally you should be able to add this to your config file and that would disable all CSS Grid specific CSS from being output:

corePlugins: {
        grid: false,
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions