Added width to container

This commit is contained in:
Ashok Fernandez
2015-06-12 14:55:30 +02:00
parent 4f24cf8d7a
commit f8594c2f32
2 changed files with 8 additions and 4 deletions
+4 -2
View File
@@ -33,7 +33,7 @@ angular.module('angular-timezone-selector', [])
.directive('timezoneSelect', ['_', 'timezones', 'zoneToCC', 'CCToCountryName', function (_, timezones, zoneToCC, CCToCountryName) {
return {
restrict: 'E',
template: '<select></select>',
template: '<select style="min-width:300px;"></select>',
replace: true,
link: function (scope, elem, attrs) {
var data = []
@@ -76,7 +76,9 @@ angular.module('angular-timezone-selector', [])
elem.append($optgroup)
})
elem.chosen()
elem.chosen({
width: '300px'
})
// elem.select2({
// data: data,
+4 -2
View File
@@ -33,7 +33,7 @@ angular.module('angular-timezone-selector', [])
.directive('timezoneSelect', ['_', 'timezones', 'zoneToCC', 'CCToCountryName', function (_, timezones, zoneToCC, CCToCountryName) {
return {
restrict: 'E',
template: '<select></select>',
template: '<select style="min-width:300px;"></select>',
replace: true,
link: function (scope, elem, attrs) {
var data = []
@@ -76,7 +76,9 @@ angular.module('angular-timezone-selector', [])
elem.append($optgroup)
})
elem.chosen()
elem.chosen({
width: '300px'
})
// elem.select2({
// data: data,