Twenty Thirteen: better styling for text input elements in small viewports. Props obenland and karmatosed, fixes #23629.
git-svn-id: http://core.svn.wordpress.org/trunk@23628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ee6d4020c9
commit
ecb47456fd
|
@ -2359,7 +2359,8 @@ footer.entry-meta {
|
|||
}
|
||||
|
||||
#commentform input[type="text"] {
|
||||
width: 270px;
|
||||
max-width: 270px;
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
#commentform textarea {
|
||||
|
@ -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. */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue