Force LTR direction for code and plugin/theme editors.

props SergeyBiryukov, nivijah.
fixes #26666 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26888


git-svn-id: http://core.svn.wordpress.org/trunk@26771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-12-31 11:04:09 +00:00
parent c829c31aa9
commit 8a82e4c463
4 changed files with 18 additions and 2 deletions

View File

@ -564,9 +564,11 @@ ol.ol-decimal > li {
margin: 0 0 0.5em; margin: 0 0 0.5em;
} }
/* @noflip */
.code, .code,
code { code {
font-family: Consolas, Monaco, monospace; font-family: Consolas, Monaco, monospace;
direction: ltr;
} }
input.code { input.code {
@ -10621,6 +10623,12 @@ input.newtag:focus ~ div.taghint {
outline: none; outline: none;
} }
/* @noflip */
#template textarea,
#docs-list {
direction: ltr;
}
#template p { #template p {
width: 97%; width: 97%;
} }

File diff suppressed because one or more lines are too long

View File

@ -564,9 +564,11 @@ ol.ol-decimal > li {
margin: 0 0 0.5em; margin: 0 0 0.5em;
} }
/* @noflip */
.code, .code,
code { code {
font-family: Consolas, Monaco, monospace; font-family: Consolas, Monaco, monospace;
direction: ltr;
} }
input.code { input.code {
@ -10621,6 +10623,12 @@ input.newtag:focus ~ div.taghint {
outline: none; outline: none;
} }
/* @noflip */
#template textarea,
#docs-list {
direction: ltr;
}
#template p { #template p {
width: 97%; width: 97%;
} }

File diff suppressed because one or more lines are too long