Skip to content

Grid column span stops working upon 13th column #3241

Answered by TheSisb
dremin asked this question in Q&A
Discussion options

You must be logged in to vote

You can try to use CSS Flexbox directly:

<Box display="flex" columnGap="space30">
  {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13].map((i: number) => (
      <Card padding="space70" key={i}>
        <Heading as="h2" variant="heading20">
          {i}
        </Heading>
        Hello {i}
      </Card>
    ))}
</Box>

Keep in mind variable window sizes. Forcing so many items side-by-side may look fine in a large browser window but begins to degrade at smaller resolutions.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dremin
Comment options

@TheSisb
Comment options

Answer selected by TheSisb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants