mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-12 13:44:21 +01:00
Twenty Eleven: fix long URLs in comments overflow content area, fixes #21491. Props SergeyBiryukov jkudish andrewspittle.
Also minor pinking shears in stylesheet and functions file. git-svn-id: http://core.svn.wordpress.org/trunk@21487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3c586888ad
commit
24c98560e1
@ -131,7 +131,7 @@ function twentyeleven_setup() {
|
|||||||
// Callback used to display the header preview in the admin.
|
// Callback used to display the header preview in the admin.
|
||||||
'admin-preview-callback' => 'twentyeleven_admin_header_image',
|
'admin-preview-callback' => 'twentyeleven_admin_header_image',
|
||||||
);
|
);
|
||||||
|
|
||||||
add_theme_support( 'custom-header', $custom_header_support );
|
add_theme_support( 'custom-header', $custom_header_support );
|
||||||
|
|
||||||
if ( ! function_exists( 'get_custom_header' ) ) {
|
if ( ! function_exists( 'get_custom_header' ) ) {
|
||||||
@ -221,7 +221,7 @@ function twentyeleven_header_style() {
|
|||||||
// If no custom options for text are set, let's bail.
|
// If no custom options for text are set, let's bail.
|
||||||
if ( $text_color == HEADER_TEXTCOLOR )
|
if ( $text_color == HEADER_TEXTCOLOR )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// If we get this far, we have custom styles. Let's do this.
|
// If we get this far, we have custom styles. Let's do this.
|
||||||
?>
|
?>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
@ -1960,6 +1960,12 @@ section.ephemera .entry-title a span {
|
|||||||
}
|
}
|
||||||
.commentlist .children li.comment .comment-content {
|
.commentlist .children li.comment .comment-content {
|
||||||
margin: 1.625em 0 0;
|
margin: 1.625em 0 0;
|
||||||
|
-ms-word-break: break-all;
|
||||||
|
word-break: break-all;
|
||||||
|
word-break: break-word;
|
||||||
|
-webkit-hyphens: auto;
|
||||||
|
-moz-hyphens: auto;
|
||||||
|
hyphens: auto;
|
||||||
}
|
}
|
||||||
.comment-meta a {
|
.comment-meta a {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@ -2686,9 +2692,9 @@ p.comment-form-comment {
|
|||||||
margin-right: 7.6%;
|
margin-right: 7.6%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* =IE8
|
/* =IE8
|
||||||
----------------------------------------------- */
|
----------------------------------------------- */
|
||||||
|
|
||||||
#ie8 section.feature-image.large img {
|
#ie8 section.feature-image.large img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user