admin sites
admin sites

Reputation: 19

rtl when last word is english

I have rtl problem when the last word in label is english and then ( character. for example:

label {
  direction: rtl;
  display: inline-block;
}
<label>php (0 הצבעות)</label>

I get wrong direction of show. need to be: click to see

but show: click to see

what can I do to solve this problem? it's happen only in chrome browser.

Edit: fix it by add

&#x200F;

before (

thank you all.

Upvotes: 1

Views: 132

Answers (1)

ferhado
ferhado

Reputation: 2604

use unicode-bidi: bidi-override;

label {
   direction: rtl;
   unicode-bidi: bidi-override;
   display: inline-block;
}
<label>php (0 הצבעות)</label>

Upvotes: 5

Related Questions