{"action":"created","issue":{"url":"https://api.github.com/repos/vaadin/vaadin-grid/issues/315","labels_url":"https://api.github.com/repos/vaadin/vaadin-grid/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/vaadin/vaadin-grid/issues/315/comments","events_url":"https://api.github.com/repos/vaadin/vaadin-grid/issues/315/events","html_url":"https://github.com/vaadin/vaadin-grid/issues/315","id":128418327,"number":315,"title":"Width does not transition properly in print view","user":{"login":"cpboyd","id":6323077,"avatar_url":"https://avatars.githubusercontent.com/u/6323077?v=3","gravatar_id":"","url":"https://api.github.com/users/cpboyd","html_url":"https://github.com/cpboyd","followers_url":"https://api.github.com/users/cpboyd/followers","following_url":"https://api.github.com/users/cpboyd/following{/other_user}","gists_url":"https://api.github.com/users/cpboyd/gists{/gist_id}","starred_url":"https://api.github.com/users/cpboyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpboyd/subscriptions","organizations_url":"https://api.github.com/users/cpboyd/orgs","repos_url":"https://api.github.com/users/cpboyd/repos","events_url":"https://api.github.com/users/cpboyd/events{/privacy}","received_events_url":"https://api.github.com/users/cpboyd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-24T19:14:36Z","updated_at":"2016-01-25T14:14:35Z","closed_at":null,"body":"I've noticed this on both Chrome and Firefox.\r\n\r\nWhen trying to \"print\" the page, vaadin-grid doesn't seem to automatically adjust to fit within the container.\r\n\r\nIf you manually resize the window prior to printing, you can get the grid contents to fit.\r\n\r\nIs there any recommended CSS workaround for this?\r\n\r\nI've tried to manually set the width of vaadin-grid elements with CSS using ```media @print{}``` but this doesn't result in the actual table elements getting resized."},"comment":{"url":"https://api.github.com/repos/vaadin/vaadin-grid/issues/comments/174519789","html_url":"https://github.com/vaadin/vaadin-grid/issues/315#issuecomment-174519789","issue_url":"https://api.github.com/repos/vaadin/vaadin-grid/issues/315","id":174519789,"user":{"login":"jounik","id":66382,"avatar_url":"https://avatars.githubusercontent.com/u/66382?v=3","gravatar_id":"","url":"https://api.github.com/users/jounik","html_url":"https://github.com/jounik","followers_url":"https://api.github.com/users/jounik/followers","following_url":"https://api.github.com/users/jounik/following{/other_user}","gists_url":"https://api.github.com/users/jounik/gists{/gist_id}","starred_url":"https://api.github.com/users/jounik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jounik/subscriptions","organizations_url":"https://api.github.com/users/jounik/orgs","repos_url":"https://api.github.com/users/jounik/repos","events_url":"https://api.github.com/users/jounik/events{/privacy}","received_events_url":"https://api.github.com/users/jounik/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T14:14:35Z","updated_at":"2016-01-25T14:14:35Z","body":"Not a complete workaround, but you could offer a custom \"Print\" button in the UI which would relayout the page and after that call \"window.print()\". If users hit \"Ctrl/Cmd+P\" or \"File -> Print…\" they will get a broken layout, so not sure if it really helps."}}