RTL: Don't flip thumbnail positions in Insert Media window.
Restores pre-3.8 behavior. props siobhyb for the initial patch. fixes #26461. Built from https://develop.svn.wordpress.org/trunk@26748 git-svn-id: http://core.svn.wordpress.org/trunk@26636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9891557341
commit
d0a9d193b6
@ -700,15 +700,17 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* @noflip */
|
||||||
.attachment .thumbnail img {
|
.attachment .thumbnail img {
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* @noflip */
|
||||||
.attachment .thumbnail .centered {
|
.attachment .thumbnail .centered {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
-webkit-transform: translate( 50%, 50% );
|
-webkit-transform: translate( 50%, 50% );
|
||||||
|
2
wp-includes/css/media-views-rtl.min.css
vendored
2
wp-includes/css/media-views-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -700,11 +700,13 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* @noflip */
|
||||||
.attachment .thumbnail img {
|
.attachment .thumbnail img {
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* @noflip */
|
||||||
.attachment .thumbnail .centered {
|
.attachment .thumbnail .centered {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user