From 0253c4d8aeb685ccbbdd32998be610a198a8a380 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 11 Apr 2013 18:06:10 +0000 Subject: [PATCH] Twenty Thirteen: improve comment label selectors and nudge up their width a bit to account for non-English installs. Props obenland for initial patch, fixes #24039. git-svn-id: http://core.svn.wordpress.org/trunk@23967 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentythirteen/rtl.css | 5 ++++- wp-content/themes/twentythirteen/style.css | 11 +++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/wp-content/themes/twentythirteen/rtl.css b/wp-content/themes/twentythirteen/rtl.css index 0c04895a81..4079db5227 100644 --- a/wp-content/themes/twentythirteen/rtl.css +++ b/wp-content/themes/twentythirteen/rtl.css @@ -663,7 +663,10 @@ div.nav-menu > ul { content: normal; } -#commentform label { +#commentform [for="author"], +#commentform [for="email"], +#commentform [for="url"], +#commentform [for="comment"] { float: right; } diff --git a/wp-content/themes/twentythirteen/style.css b/wp-content/themes/twentythirteen/style.css index e39b51c4c2..de1c798b3a 100644 --- a/wp-content/themes/twentythirteen/style.css +++ b/wp-content/themes/twentythirteen/style.css @@ -2454,10 +2454,13 @@ footer.entry-meta { margin-bottom: 8px; } -#commentform label { +#commentform [for="author"], +#commentform [for="email"], +#commentform [for="url"], +#commentform [for="comment"] { float: left; padding: 5px 0; - width: 100px; + width: 120px; } #commentform .required { @@ -3113,8 +3116,8 @@ footer.entry-meta { #commentform input[type="text"], #commentform input[type="email"], #commentform input[type="url"] { - width: -webkit-calc(100% - 100px); - width: calc(100% - 100px); + width: -webkit-calc(100% - 120px); + width: calc(100% - 120px); } #commentform textarea {