Skip to content

Custom theme setup container width is incorrect on documentation. #62

Description

@buraksaraloglu

Hi, on the documentation (Doc Link), example code for customizing container widths is like this:

const theme = { grid: { containerWidth: { xs: "540px", sm: "720px", md: "960px", lg: "1156px", xl: "1156px" }, gutterWidth: "12px", } };

but instead, it should be containerMaxWidth. Otherwise, it doesn't work.

const theme = { grid: { containerMaxWidth: { xs: "540px", sm: "720px", md: "960px", lg: "1156px", xl: "1156px" }, gutterWidth: "12px", } };

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions