Add RTL and locale classes to the press this body. Props SergeyBiryukov. fixes #19603
git-svn-id: https://develop.svn.wordpress.org/trunk@21052 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f1d9066aed
commit
30cf820918
@ -8195,13 +8195,13 @@ a.widget-control-edit {
|
|||||||
width: auto; /* default 5em */
|
width: auto; /* default 5em */
|
||||||
min-width: 5em;
|
min-width: 5em;
|
||||||
}
|
}
|
||||||
.locale-ru-ru .press-this .posting {
|
.locale-ru-ru.press-this .posting {
|
||||||
margin-right: 257px; /* default 212px + 45px */
|
margin-right: 257px; /* default 212px + 45px */
|
||||||
}
|
}
|
||||||
.locale-ru-ru .press-this #photo-add-url-div input[type="text"] {
|
.locale-ru-ru.press-this #photo-add-url-div input[type="text"] {
|
||||||
width: 255px; /* default 300px - 45px */
|
width: 255px; /* default 300px - 45px */
|
||||||
}
|
}
|
||||||
.locale-ru-ru .press-this #side-sortables {
|
.locale-ru-ru.press-this #side-sortables {
|
||||||
width: 245px; /* default 200px + 45px */
|
width: 245px; /* default 200px + 45px */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -435,7 +435,11 @@ var photostorage = false;
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body class="press-this wp-admin<?php if ( is_rtl() ) echo ' rtl'; ?>">
|
<?php
|
||||||
|
$admin_body_class = ( is_rtl() ) ? 'rtl' : '';
|
||||||
|
$admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) );
|
||||||
|
?>
|
||||||
|
<body class="press-this wp-admin <?php echo $admin_body_class; ?>">
|
||||||
<form action="press-this.php?action=post" method="post">
|
<form action="press-this.php?action=post" method="post">
|
||||||
<div id="poststuff" class="metabox-holder">
|
<div id="poststuff" class="metabox-holder">
|
||||||
<div id="side-sortables" class="press-this-sidebar">
|
<div id="side-sortables" class="press-this-sidebar">
|
||||||
|
Loading…
Reference in New Issue
Block a user