summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/helpers/application_helper.rb2
-rw-r--r--public/stylesheets/responsive.css2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index fce5d6e22..0d15f2cd4 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -1143,7 +1143,7 @@ module ApplicationHelper
def calendar_for(field_id)
include_calendar_headers_tags
- javascript_tag("$(function() { $('##{field_id}').datepicker(datepickerOptions); });")
+ javascript_tag("$(function() { $('##{field_id}').addClass('date').datepicker(datepickerOptions); });")
end
def include_calendar_headers_tags
diff --git a/public/stylesheets/responsive.css b/public/stylesheets/responsive.css
index a251d3ef2..6664827df 100644
--- a/public/stylesheets/responsive.css
+++ b/public/stylesheets/responsive.css
@@ -762,7 +762,7 @@
max-width: 100%;
}
- .box.tabular input[type="checkbox"] {
+ .box.tabular input[type="checkbox"], .box.tabular input.date {
width: auto;
max-width: 95%;
}