Replies: 1 comment 2 replies
-
For three items, you can center them by having grid columns equal to 3: -<div className="sm:grid sm:grid-cols-4 sm:gap-4 sm:justify-center sm:content-center m-auto bg-white w-3/4 max-w-7xl flex flex-col">
+<div className="sm:grid sm:grid-cols-3 sm:gap-4 sm:justify-center sm:content-center m-auto bg-white w-3/4 max-w-7xl flex flex-col"> |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions