{"action":"created","issue":{"url":"https://api.github.com/repos/basvandenberg/angular2-select/issues/59","repository_url":"https://api.github.com/repos/basvandenberg/angular2-select","labels_url":"https://api.github.com/repos/basvandenberg/angular2-select/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/basvandenberg/angular2-select/issues/59/comments","events_url":"https://api.github.com/repos/basvandenberg/angular2-select/issues/59/events","html_url":"https://github.com/basvandenberg/angular2-select/issues/59","id":195480038,"number":59,"title":"how do i set width ?","user":{"login":"yczf1836","id":10259039,"avatar_url":"https://avatars.githubusercontent.com/u/10259039?v=3","gravatar_id":"","url":"https://api.github.com/users/yczf1836","html_url":"https://github.com/yczf1836","followers_url":"https://api.github.com/users/yczf1836/followers","following_url":"https://api.github.com/users/yczf1836/following{/other_user}","gists_url":"https://api.github.com/users/yczf1836/gists{/gist_id}","starred_url":"https://api.github.com/users/yczf1836/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yczf1836/subscriptions","organizations_url":"https://api.github.com/users/yczf1836/orgs","repos_url":"https://api.github.com/users/yczf1836/repos","events_url":"https://api.github.com/users/yczf1836/events{/privacy}","received_events_url":"https://api.github.com/users/yczf1836/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-14T09:26:46Z","updated_at":"2016-12-21T09:50:46Z","closed_at":null,"body":"<ng-select [ngClass]=\"'place sccjCode'\" [ngStyle]=\"{ **'width': '150px'**, 'text-align': 'center'}\" \r\n                [multiple]=\"multi\" [options]=\"myOptions\" [(ngModel)]=\"mySelectValue\">\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/basvandenberg/angular2-select/issues/comments/268480896","html_url":"https://github.com/basvandenberg/angular2-select/issues/59#issuecomment-268480896","issue_url":"https://api.github.com/repos/basvandenberg/angular2-select/issues/59","id":268480896,"user":{"login":"basvandenberg","id":1561851,"avatar_url":"https://avatars.githubusercontent.com/u/1561851?v=3","gravatar_id":"","url":"https://api.github.com/users/basvandenberg","html_url":"https://github.com/basvandenberg","followers_url":"https://api.github.com/users/basvandenberg/followers","following_url":"https://api.github.com/users/basvandenberg/following{/other_user}","gists_url":"https://api.github.com/users/basvandenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/basvandenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basvandenberg/subscriptions","organizations_url":"https://api.github.com/users/basvandenberg/orgs","repos_url":"https://api.github.com/users/basvandenberg/repos","events_url":"https://api.github.com/users/basvandenberg/events{/privacy}","received_events_url":"https://api.github.com/users/basvandenberg/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T09:50:46Z","updated_at":"2016-12-21T09:50:46Z","body":"I think you need to add `display:block` or `display:inline-block` :\r\n\r\n```\r\n<ng-select [ngClass]=\"'place sccjCode'\" [ngStyle]=\"{'display':'block', 'width': '150px', 'text-align': 'center'}\"\r\n[multiple]=\"multi\" [options]=\"myOptions\" [(ngModel)]=\"mySelectValue\">\r\n```\r\n\r\nLet me know if this works for you, then I will add this style rule by default for the ng-select element."}}
{"actor":{"display_login":"basvandenberg"}}