Skip to content

Commit

Permalink
Twenty Thirteen: better styling for text input elements in small view…
Browse files Browse the repository at this point in the history
…ports. Props obenland and karmatosed, fixes #23629.

git-svn-id: http://core.svn.wordpress.org/trunk@23628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
lancewillett committed Mar 6, 2013
1 parent ee6d402 commit ecb4745
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion wp-content/themes/twentythirteen/style.css
Expand Up @@ -2359,7 +2359,8 @@ footer.entry-meta {
}

#commentform input[type="text"] {
width: 270px;
max-width: 270px;
width: 60%;
}

#commentform textarea {
Expand Down Expand Up @@ -3007,6 +3008,11 @@ footer.entry-meta {
width: calc(100% - 104px);
}

#commentform input[type="text"] {
width: -webkit-calc(100% - 100px);
width: calc(100% - 100px);
}

#commentform textarea {
height: 80px; /* Smaller field for mobile. */
}
Expand Down

0 comments on commit ecb4745

Please sign in to comment.