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

Checkbox does not work in right to left mode #72

Open
Flimm opened this issue May 30, 2019 · 1 comment
Open

Checkbox does not work in right to left mode #72

Flimm opened this issue May 30, 2019 · 1 comment

Comments

@Flimm
Copy link

Flimm commented May 30, 2019

Take code like this:

<dir dir="rtl">
  <div class="pretty p-default">
    <input type="checkbox" />
    <div class="state">
      <label>تاست</label>
    </div>
  </div>
</div>

The checkbox ends up covering the text.

@payamomrani
Copy link

put this code to support rtl :

[dir="rtl"] .pretty .state label:before,[dir="rtl"] .pretty .state label:after{left:auto;right:0;} [dir="rtl"] .pretty {margin-right:0;margin-left: 1em;}

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