Skip to content

Commit

Permalink
Add number field to grunion CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
simison committed Jan 14, 2025
1 parent 951dc0f commit e7be37d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions projects/packages/forms/src/contact-form/css/grunion.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
.contact-form input[type='email'],
.contact-form input[type='tel'],
.contact-form input[type='url'],
.contact-form input[type='number'],
.contact-form textarea
) {
box-sizing: border-box;
Expand Down Expand Up @@ -203,11 +204,13 @@
.textwidget .contact-form input[type='email'],
.textwidget .contact-form input[type='tel'],
.textwidget .contact-form input[type='url'],
.textwidget .contact-form input[type='number'],
.textwidget .contact-form textarea,
.wp-block-column .contact-form input[type='text'],
.wp-block-column .contact-form input[type='email'],
.wp-block-column .contact-form input[type='tel'],
.wp-block-column .contact-form input[type='url'],
.wp-block-column .contact-form input[type='number'],
.wp-block-column .contact-form textarea {
width: 100%;
}
Expand Down Expand Up @@ -280,7 +283,8 @@
.contact-form input[type='text'],
.contact-form input[type='email'],
.contact-form input[type='tel'],
.contact-form input[type='url'] {
.contact-form input[type='url'],
.contact-form input[type='number'] {
width: 50%;
}

Expand All @@ -292,7 +296,8 @@
.wp-block-jetpack-contact-form input[type='text'],
.wp-block-jetpack-contact-form input[type='email'],
.wp-block-jetpack-contact-form input[type='tel'],
.wp-block-jetpack-contact-form input[type='url'] {
.wp-block-jetpack-contact-form input[type='url'],
.wp-block-jetpack-contact-form input[type='number'] {
width: 100%;
}
}
Expand Down

0 comments on commit e7be37d

Please sign in to comment.