[wp-trac] [WordPress Trac] #50449: Sitemap style for RTL sites

WordPress Trac noreply at wordpress.org
Tue Jun 30 15:29:18 UTC 2020


#50449: Sitemap style for RTL sites
---------------------------------------+---------------------
 Reporter:  joyously                   |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  5.5
Component:  Sitemaps                   |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-screenshots has-patch  |     Focuses:  rtl
---------------------------------------+---------------------
Changes (by pbiron):

 * keywords:  has-screenshots needs-patch => has-screenshots has-patch


Comment:

 [https://core.trac.wordpress.org/raw-attachment/ticket/50449/50449.2.diff
 50449.2.diff] modifies the CSS so that:

 1. the text direction and alignment of the URL column (both header and
 body) is always `ltr` and `left`
 2. all other column headers are aligned based on `is_rtl()` (to override
 browser defaults to center column headers)
    * the text direction of these columns (both header and body) is already
 determined by the `dir` attribute on the `html` element

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50449#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list