Attached a preview of the form when RTL language is activated.
I gues it might be a bit early to work on this bug, but I just wanted to raise a little flag about it. Nothing critical ;)
| Comment | File | Size | Author |
|---|---|---|---|
| Picture 2.png | 36.09 KB | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) commentedMight be a solution : for the active fieldset, instead of having :
display:block;
use :
display:table;
Comment #2
ximo commentedThanks. I'll look into it sooner or later. Should be easy to fix (if a site uses a RTL language, a class is set on the body element, right?)..
Comment #3
quicksketchThere isn't a body class, but there is a direction property:
$(body).css('direction'). This is the way core's tabledrag.js handles RTL. Although if it's just a matter of CSS, you can make an RTL CSS file that compliments the normal one. i.e. accordion.css would have a complement accordion-rtl.css that changes all float: left to float: right, margin-left to margin-right, etc. Drupal will automatically add the -rtl.css file for you if the current language is RTL based.Comment #4
ximo commentedThis module has been discontinued, vertical_tabs by dmitrig01 should be used instead. I'll create an issue for this in vertical_tabs' queue, as it doesn't account for RTL either.