jessepollak / card

:credit_card: make your credit card form better in one line of code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Credit Card with RTL the float:right makes a problem

mfadel85 opened this issue · comments

Hello everyone,
Thanks for your efforts,
I have a problem with the module when the direction of the page get rtl,
the float:right in .jp-card .jp-card-front .jp-card-lower .jp-card-expiry,
because the name also comes in the right,
I tried this but didn't work in chrome:
.jp-card .jp-card-front .jp-card-lower .jp-card-expiry[direction="rtl"] {
float: left
}

what could be the solution?

I don't know if RTL supported was ever added to this component or not. I don't think it was.