From 81639b9dd749914bde7ce57fa36e9615da669cc1 Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Fri, 24 Oct 2014 15:04:48 +0000 Subject: [PATCH] Twenty Fifteen: correct list indentation in older IE versions. Props iamtakashi, fixes #30074. git-svn-id: https://develop.svn.wordpress.org/trunk@30012 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentyfifteen/css/ie.css | 30 ++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/src/wp-content/themes/twentyfifteen/css/ie.css b/src/wp-content/themes/twentyfifteen/css/ie.css index 91afa50661..267c0031be 100644 --- a/src/wp-content/themes/twentyfifteen/css/ie.css +++ b/src/wp-content/themes/twentyfifteen/css/ie.css @@ -34,6 +34,11 @@ ol { margin-left: 0; } +li > ul, +li > ol { + margin-left: 1.3333em; +} + blockquote { border-color: inherit; border-style: solid; @@ -660,7 +665,12 @@ img.aligncenter { .comment-content ul, .comment-content ol { - margin-bottom: 1.6842em; + margin: 0 0 1.6842em 0; +} + +.comment-content li > ul, +.comment-content li > ol { + margin-left: 1.3333em; } .comment-list .reply a { @@ -758,6 +768,12 @@ video { margin-left: auto; } +.rtl li > ul, +.rtl li > ol { + margin-right: 1.3333em; + margin-left: auto; +} + .rtl blockquote { border-width: 0 4px 0 0; margin-right: -1.0909em; @@ -857,6 +873,18 @@ video { left: auto; } +.rtl .comment-content ul, +.rtl .comment-content ol { + margin-right: 0; + margin-left: auto; +} + +.rtl .comment-content li > ul, +.rtl .comment-content li > ol { + margin-right: 1.3333em; + margin-left: auto; +} + .rtl .comment-metadata { padding-right: 5.5em; padding-left: 0;