WordPress.org

Make WordPress Core

Opened 20 months ago

Closed 9 months ago

#19060 closed defect (bug) (duplicate)

admin CSS: .code, code should have direction:ltr (for rtl installations)

Reported by: panuy Owned by:
Priority: normal Milestone:
Component: RTL Version: 3.2.1
Severity: normal Keywords: has-patch
Cc:

Description

selectors .code, code indicate code, which is 100% of the times english text that must be aligned to the left, and have left-to-right directionality.

if the administration panel is in RTL mode, the code textboxes are reversed, and it is nearly impossible to edit them.

the suggested code will not affect LTR installations.

suggested fix at wp-admin-rtl.dev.css file:

.code, code {

direction: ltr;
(...)

}

Attachments (1)

19060.patch (285 bytes) - added by ramiy 20 months ago.

Download all attachments as: .zip

Change History (10)

comment:1 ocean9020 months ago

  • Keywords rtl-feedback needs-patch added; has-patch needs-testing removed

comment:2 ramiy20 months ago

I agree, this is a very good idea. <code> tag has no rtl text, so it has to have left-to-right direction.

comment:3 ramiy20 months ago

Related: #18021

comment:4 nacin20 months ago

  • Keywords rtl-feedback removed

Patch?

ramiy20 months ago

comment:5 ramiy20 months ago

  • Keywords has-patch added; needs-patch removed

comment:6 ramiy19 months ago

see also - #16834

comment:7 azaozz19 months ago

So, what's the best way for here: unicode-bidi: override; or direction: ltr;?

comment:9 nacin9 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #19598.

Note: See TracTickets for help on using tickets.