When using a RTL (right to left) theme, such as garlandrtl, all elements inherit a direction:rtl decleration. This cause the version numbers of modules to show up RTL too, which causes much confusion.

I've solved this by adding the following to the CSS:

.current-version, .new-version {
  direction: ltr;
}

I believe this patch would not hurt ltr themes, and cleanly fixes all rtl themes.

Comments

dww’s picture

Status: Active » Fixed

seems reasonable to me. tested, and works fine. committed to HEAD and DRUPAL-5 branch. thanks!

by the way, isn't this a problem in core on the main admin/build/modules page? if so, you should probably open a new issue about it. i didn't see any CSS div that the version numbers are wrapped in over there, so there was no way to fix this problem with the same CSS in admin.css for both modules (system.module and update_status.module). that's why i just committed this small change here.

anyway, thanks for the report and the fix.

yhager’s picture

by the way, isn't this a problem in core on the main admin/build/modules page?

You are right. I will open an issue.

Anonymous’s picture

Status: Fixed » Closed (fixed)