{"action":"created","issue":{"url":"https://api.github.com/repos/snapappointments/bootstrap-select/issues/2055","repository_url":"https://api.github.com/repos/snapappointments/bootstrap-select","labels_url":"https://api.github.com/repos/snapappointments/bootstrap-select/issues/2055/labels{/name}","comments_url":"https://api.github.com/repos/snapappointments/bootstrap-select/issues/2055/comments","events_url":"https://api.github.com/repos/snapappointments/bootstrap-select/issues/2055/events","html_url":"https://github.com/snapappointments/bootstrap-select/issues/2055","id":352822081,"node_id":"MDU6SXNzdWUzNTI4MjIwODE=","number":2055,"title":"Is there a way to auto-size the width of the control to the content","user":{"login":"Sicos1977","id":6692947,"node_id":"MDQ6VXNlcjY2OTI5NDc=","avatar_url":"https://avatars0.githubusercontent.com/u/6692947?v=4","gravatar_id":"","url":"https://api.github.com/users/Sicos1977","html_url":"https://github.com/Sicos1977","followers_url":"https://api.github.com/users/Sicos1977/followers","following_url":"https://api.github.com/users/Sicos1977/following{/other_user}","gists_url":"https://api.github.com/users/Sicos1977/gists{/gist_id}","starred_url":"https://api.github.com/users/Sicos1977/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sicos1977/subscriptions","organizations_url":"https://api.github.com/users/Sicos1977/orgs","repos_url":"https://api.github.com/users/Sicos1977/repos","events_url":"https://api.github.com/users/Sicos1977/events{/privacy}","received_events_url":"https://api.github.com/users/Sicos1977/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-22T06:42:37Z","updated_at":"2018-08-22T13:27:52Z","closed_at":"2018-08-22T13:27:52Z","author_association":"NONE","body":"I'm using version 1.13.\r\n\r\nIs there a way to make the width of the control auto-size to the content that is in it?\r\nI used to make this work with previous version by just changing these lines in the css file.\r\n\r\n.bootstrap-select:not([class*=\"col-\"]):not([class*=\"form-control\"]):not(.input-group-btn) {\r\n  width: 220px;\r\n}\r\n\r\nto...\r\n\r\n.bootstrap-select:not([class*=\"col-\"]):not([class*=\"form-control\"]):not(.input-group-btn) {\r\n  width: auto;\r\n}\r\n\r\nBut if I do that now I just end up with a very width control that is much wider then the width of the widest content.\r\n"},"comment":{"url":"https://api.github.com/repos/snapappointments/bootstrap-select/issues/comments/415031339","html_url":"https://github.com/snapappointments/bootstrap-select/issues/2055#issuecomment-415031339","issue_url":"https://api.github.com/repos/snapappointments/bootstrap-select/issues/2055","id":415031339,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTAzMTMzOQ==","user":{"login":"caseyjhol","id":2874325,"node_id":"MDQ6VXNlcjI4NzQzMjU=","avatar_url":"https://avatars3.githubusercontent.com/u/2874325?v=4","gravatar_id":"","url":"https://api.github.com/users/caseyjhol","html_url":"https://github.com/caseyjhol","followers_url":"https://api.github.com/users/caseyjhol/followers","following_url":"https://api.github.com/users/caseyjhol/following{/other_user}","gists_url":"https://api.github.com/users/caseyjhol/gists{/gist_id}","starred_url":"https://api.github.com/users/caseyjhol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseyjhol/subscriptions","organizations_url":"https://api.github.com/users/caseyjhol/orgs","repos_url":"https://api.github.com/users/caseyjhol/repos","events_url":"https://api.github.com/users/caseyjhol/events{/privacy}","received_events_url":"https://api.github.com/users/caseyjhol/received_events","type":"User","site_admin":false},"created_at":"2018-08-22T13:27:52Z","updated_at":"2018-08-22T13:27:52Z","author_association":"MEMBER","body":"See the width option:\r\nhttps://developer.snapappointments.com/bootstrap-select/options/\r\nhttps://developer.snapappointments.com/bootstrap-select/examples/#width"}}
{"actor":{"display_login":"caseyjhol"}}