Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added a class to fix the text fields in the search panel. Should be n…

…arrow enough and spacing between them should be good now.
  • Loading branch information...
commit e57e2afb6c0182bfa1d33bceb25d2ab527b1d98b 1 parent 7500f92
Cory Romdenne cromdenne11 authored
10 app/views/home/_search_panel.html.erb
View
@@ -15,8 +15,8 @@
<div id="PriceSlider" class="CriterionOptions" style="display: none">
<div>
- <%= f.text_field :rent_gte , :placeholder => "From"%><br />
- <%= f.text_field :rent_lte, :placeholder => "To" %>
+ <%= f.text_field :rent_gte , :class => "text-criteria", :placeholder => "From"%><br />
+ <%= f.text_field :rent_lte, :class => "text-criteria", :placeholder => "To" %>
</div>
</div>
</div><!-- End Price -->
@@ -32,8 +32,8 @@
<div id="LocationSlider" class="CriterionOptions" style="display: none">
<div>
- <%= f.text_field :address_contains, :placeholder => "Address" %>
- <%= f.text_field :building_name_contains, :placeholder => "Building" %>
+ <%= f.text_field :address_contains, :class => "text-criteria", :placeholder => "Address" %>
+ <%= f.text_field :building_name_contains, :class => "text-criteria", :placeholder => "Building" %>
</div>
</div>
</div><!-- End Location -->
@@ -81,7 +81,7 @@
<hr />
<div class="CustomTextFieldWidth">
- <%= f.text_field :squarefeet_gte, :placeholder => "Minimum square feet" %><br />
+ <%= f.text_field :squarefeet_gte, :class => "text-criteria", :placeholder => "Minimum square feet" %><br />
</div>
5 public/stylesheets/searchPanel.css
View
@@ -97,6 +97,11 @@
padding: 5px;
}
+.text-criteria {
+ margin-top: 10px;
+ width: 125px;
+}
+
#ResDetailsSlider hr
{
margin-right: 10px;
Please sign in to comment.
Something went wrong with that request. Please try again.