Move styling of date-durtation widget input field to specific class in etemplate2.css

This commit is contained in:
Hadi Nategh 2014-03-12 13:13:18 +00:00
parent 64f4989004
commit 8b326fb60f
2 changed files with 4 additions and 1 deletions

View File

@ -308,7 +308,7 @@ var et2_date_duration = et2_date.extend(
.addClass('et2_date_duration');
this.duration = $j(document.createElement("input"))
.addClass('et2_date_duration')
.attr({type: 'number', size: 3, style: 'width: 3em'});
.attr({type: 'number', size: 3});
this.node.append(this.duration);
if(this.options.display_format.length > 1)

View File

@ -374,6 +374,9 @@ span.et2_date span {
text-align: center;
font-size: 9pt;
}
span.et2_date_duration input.et2_date_duration{
width: 3em;
}
/**
* Dialog widget
* It uses jQueryUI, so this is just our little bits - icon on left