{"action":"created","issue":{"url":"https://api.github.com/repos/kartik-v/yii2-widget-select2/issues/28","labels_url":"https://api.github.com/repos/kartik-v/yii2-widget-select2/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/yii2-widget-select2/issues/28/comments","events_url":"https://api.github.com/repos/kartik-v/yii2-widget-select2/issues/28/events","html_url":"https://github.com/kartik-v/yii2-widget-select2/issues/28","id":74757595,"number":28,"title":"CSS issue with GridView after 2.0 upgrade","user":{"login":"darkalor","id":2834813,"avatar_url":"https://avatars.githubusercontent.com/u/2834813?v=3","gravatar_id":"","url":"https://api.github.com/users/darkalor","html_url":"https://github.com/darkalor","followers_url":"https://api.github.com/users/darkalor/followers","following_url":"https://api.github.com/users/darkalor/following{/other_user}","gists_url":"https://api.github.com/users/darkalor/gists{/gist_id}","starred_url":"https://api.github.com/users/darkalor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkalor/subscriptions","organizations_url":"https://api.github.com/users/darkalor/orgs","repos_url":"https://api.github.com/users/darkalor/repos","events_url":"https://api.github.com/users/darkalor/events{/privacy}","received_events_url":"https://api.github.com/users/darkalor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kartik-v/yii2-widget-select2/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-09T21:00:57Z","updated_at":"2015-05-10T06:52:01Z","closed_at":"2015-05-10T05:56:35Z","body":"After updating to the 2.0 version, when using Select2 with GridView it defaults to \"display: table\", so width does not scale with it's contents.\r\n![clipboard01](https://cloud.githubusercontent.com/assets/2834813/7552021/3aea3b52-f6a7-11e4-88d5-d7b93a5fb5e9.png)\r\n\r\nOnly happens with THEME_KRAJEE and THEME_BOOTSTRAP."},"comment":{"url":"https://api.github.com/repos/kartik-v/yii2-widget-select2/issues/comments/100596156","html_url":"https://github.com/kartik-v/yii2-widget-select2/issues/28#issuecomment-100596156","issue_url":"https://api.github.com/repos/kartik-v/yii2-widget-select2/issues/28","id":100596156,"user":{"login":"darkalor","id":2834813,"avatar_url":"https://avatars.githubusercontent.com/u/2834813?v=3","gravatar_id":"","url":"https://api.github.com/users/darkalor","html_url":"https://github.com/darkalor","followers_url":"https://api.github.com/users/darkalor/followers","following_url":"https://api.github.com/users/darkalor/following{/other_user}","gists_url":"https://api.github.com/users/darkalor/gists{/gist_id}","starred_url":"https://api.github.com/users/darkalor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkalor/subscriptions","organizations_url":"https://api.github.com/users/darkalor/orgs","repos_url":"https://api.github.com/users/darkalor/repos","events_url":"https://api.github.com/users/darkalor/events{/privacy}","received_events_url":"https://api.github.com/users/darkalor/received_events","type":"User","site_admin":false},"created_at":"2015-05-10T06:52:01Z","updated_at":"2015-05-10T06:52:01Z","body":"It just seems like strange default behavior. At the moment it scales down to the point that it cuts off text and breaks the \"clear\" button. The previous version did not do this. Additionally, this is inconsistent to how the default textinput filters behave - they seem to have some minimal size + padding.\r\n\r\nHere's a slightly more better example of what I got after upgrading (all three dropdowns actually have something selected):\r\n![clipboard01](https://cloud.githubusercontent.com/assets/2834813/7553313/f5188824-f6f9-11e4-951c-2abff876659f.png)\r\n\r\n\r\nAlso, there seems to be an issue with the \"clear\" button for the other themes as well:\r\n![clipboard02](https://cloud.githubusercontent.com/assets/2834813/7553305/711913ae-f6f9-11e4-87af-5ffdf0628261.png)\r\n\r\n\r\n"}}