Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Neither vertical-tabs-rtl.css from core/misc or from Seven are recognized for RTL. Vertical tabs are not a module, its 2 stylesheets and 1 js file are at the top level of core/misc. The only other stylesheets at that location are print. The 2 stylesheets are overridden in Seven.
Dev tools show no vertical-tabs-rtl.css used while displaying RTL.
Screenshot is showing color red tested in Seven's vertical-tabs.css but not showing an override of color green tested in Seven's vertical-tabs-rtl.css (in addition to not rendering any of the RTL css).
Comment | File | Size | Author |
---|---|---|---|
#1 | source-rtl.png | 36.15 KB | echoz |
test-vertical-tabs-rtl.png | 9.71 KB | echoz | |
test-vertical-tabs.png | 9.56 KB | echoz | |
no-rtl-css-vertical-tabs.png | 66.24 KB | echoz |
Comments
Comment #1
echoz CreditAttribution: echoz commentedAn oddity that is perhaps a clue, seven's vertical-tabs.css is called twice in the RTL source. Not so for any other stylesheet.
Comment #2
echoz CreditAttribution: echoz commentedResolved with #2015789: Remove language_css_alter() (RTL stylesheets) in favor of HTML 'dir' attribute !
Marking as fixed because I'm confident 2015789 is going through :-)