1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

Don't use 100% width for date fields (#19097).

git-svn-id: http://svn.redmine.org/redmine/trunk@14828 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2015-11-07 14:01:53 +00:00
parent fd57979418
commit 48143b16d3
2 changed files with 2 additions and 2 deletions

View File

@ -1143,7 +1143,7 @@ module ApplicationHelper
def calendar_for(field_id) def calendar_for(field_id)
include_calendar_headers_tags include_calendar_headers_tags
javascript_tag("$(function() { $('##{field_id}').datepicker(datepickerOptions); });") javascript_tag("$(function() { $('##{field_id}').addClass('date').datepicker(datepickerOptions); });")
end end
def include_calendar_headers_tags def include_calendar_headers_tags

View File

@ -762,7 +762,7 @@
max-width: 100%; max-width: 100%;
} }
.box.tabular input[type="checkbox"] { .box.tabular input[type="checkbox"], .box.tabular input.date {
width: auto; width: auto;
max-width: 95%; max-width: 95%;
} }