Skip to content
Discussion options

You must be logged in to vote

Several solutions:

Use an arbitrary property class to apply justify-content: normal

-<div class="md:justify-normal flex gap-4 divide-dashed divide-brown-400 overflow-y-auto whitespace-nowrap p-4 text-center text-sm text-white sm:justify-center md:grid md:gap-0 md:divide-y md:whitespace-normal md:p-0 md:text-left md:text-lg">
+<div class="md:[justify-content:normal] flex gap-4 divide-dashed divide-brown-400 overflow-y-auto whitespace-nowrap p-4 text-center text-sm text-white sm:justify-center md:grid md:gap-0 md:divide-y md:whitespace-normal md:p-0 md:text-left md:text-lg">

Use a max-* screen variant to apply justify-content: center for sm screen and lower

-<div class="md:justify-normal fl…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DavydeVries
Comment options

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