Skip to content
New issue

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

flipping space-x-4 margin right and left #14

Closed
mohas opened this issue Dec 2, 2020 · 2 comments
Closed

flipping space-x-4 margin right and left #14

mohas opened this issue Dec 2, 2020 · 2 comments

Comments

@mohas
Copy link

mohas commented Dec 2, 2020

using the default Tailwindcss demo

           <div className="p-6 max-w-sm mx-auto bg-white rounded-xl shadow-md flex items-center space-x-4">
                <div className="flex-shrink-0">
                    <img className="h-12 w-12" src="/img/logo.svg" alt="ChitChat Logo" />
                </div>
                <div className="text-start" >
                    <div className="text-xl font-medium text-black">ChitChat</div>
                    <p className="text-gray-500">You have a new message!</p>
                </div>
            </div>

I notice that space-x-4 does not flip the margin right and left when applying dir="rtl"

@20lives
Copy link
Owner

20lives commented Dec 2, 2020

You should use space-s-4 instead.

@mohas
Copy link
Author

mohas commented Dec 2, 2020

Oh I see tbx great work

@20lives 20lives closed this as completed Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants