diff --git a/app/views/admin/property_hires/edit_hire.html.erb b/app/views/admin/property_hires/edit_hire.html.erb index a618784..fad2936 100644 --- a/app/views/admin/property_hires/edit_hire.html.erb +++ b/app/views/admin/property_hires/edit_hire.html.erb @@ -290,11 +290,12 @@ ul.list-unstyled li { } } form#new_p_hire .form-group input,form#new_p_hire .form-group select, form#new_p_hire .form-group textarea{ - width: 100%; + min-width: 100%; max-width: 300px; } - form#new_p_hire .form-group input[name="_rucaptcha"]{ + form#new_p_hire .form-group input[name="_rucaptcha"], form#new_p_hire .form-group input[type="submit"]{ width: auto; + min-width: auto; } <% if !property.can_be_hired %> diff --git a/app/views/property_hires/hire.html.erb b/app/views/property_hires/hire.html.erb index 2ae67a2..f6079f3 100644 --- a/app/views/property_hires/hire.html.erb +++ b/app/views/property_hires/hire.html.erb @@ -160,11 +160,12 @@ } } form#new_p_hire .form-group input,form#new_p_hire .form-group select, form#new_p_hire .form-group textarea{ - width: 100%; + min-width: 100%; max-width: 300px; } - form#new_p_hire .form-group input[name="_rucaptcha"]{ + form#new_p_hire .form-group input[name="_rucaptcha"], form#new_p_hire .form-group input[type="submit"]{ width: auto; + min-width: auto; } <% if !property.can_be_hired %>