We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
instead of a horizontal layout, the items are arranged vertically
<Box className="container"> <Box className="d-flex flex-row grid-cols-3 gap-2 p-3"> {/* Incorrect behavior */} <Box className="border p-3">Item 1</Box> <Box className="border p-3">Item 2</Box> <Box className="border p-3">Item 3</Box> </Box> </Box>
v37.12.0
Chrome, Edge
The text was updated successfully, but these errors were encountered:
If you want a horizontal flexbox layout, remove grid-cols-3 and rely only on d-flex flex-row:
<Box className="container"> <Box className="d-flex flex-row gap-2 p-3"> <Box className="border p-3">Item 1</Box> <Box className="border p-3">Item 2</Box> <Box className="border p-3">Item 3</Box> </Box> </Box>
If you prefer a grid layout, remove d-flex flex-row and use Tailwind's grid system properly:
<Box className="container"> <Box className="grid grid-cols-3 gap-2 p-3"> <Box className="border p-3">Item 1</Box> <Box className="border p-3">Item 2</Box> <Box className="border p-3">Item 3</Box> </Box> </Box>
Sorry, something went wrong.
<Box className="container"> <Box className="d-flex flex-row"> <Box >Item 1</Box> <Box >Item 2</Box> <Box >Item 3</Box> </Box> </Box>
doesn't work.
No branches or pull requests
Description
instead of a horizontal layout, the items are arranged vertically
Steps to reproduce
Version
v37.12.0
Browser
Chrome, Edge
The text was updated successfully, but these errors were encountered: