{"action":"opened","issue":{"url":"https://api.github.com/repos/twbs/bootstrap/issues/17621","labels_url":"https://api.github.com/repos/twbs/bootstrap/issues/17621/labels{/name}","comments_url":"https://api.github.com/repos/twbs/bootstrap/issues/17621/comments","events_url":"https://api.github.com/repos/twbs/bootstrap/issues/17621/events","html_url":"https://github.com/twbs/bootstrap/issues/17621","id":106802066,"number":17621,"title":"Container has only max-with and not width","user":{"login":"gseregni","id":8873959,"avatar_url":"https://avatars.githubusercontent.com/u/8873959?v=3","gravatar_id":"","url":"https://api.github.com/users/gseregni","html_url":"https://github.com/gseregni","followers_url":"https://api.github.com/users/gseregni/followers","following_url":"https://api.github.com/users/gseregni/following{/other_user}","gists_url":"https://api.github.com/users/gseregni/gists{/gist_id}","starred_url":"https://api.github.com/users/gseregni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gseregni/subscriptions","organizations_url":"https://api.github.com/users/gseregni/orgs","repos_url":"https://api.github.com/users/gseregni/repos","events_url":"https://api.github.com/users/gseregni/events{/privacy}","received_events_url":"https://api.github.com/users/gseregni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-16T15:47:12Z","updated_at":"2015-09-16T15:47:12Z","closed_at":null,"body":"As of BS3 a .container was defined in this way :\r\n\r\n@media (min-width: 1200px) {\r\n  .container {\r\n    width: 1170px;\r\n  }\r\n}\r\n\r\nNow only max-width is defined\r\n\r\n@media (min-width: 75em) {\r\n  .container {\r\n    max-width: 72.25rem;\r\n  }\r\n}\r\n\r\n\r\nIf i place a .container in a flex box or float it , this cause the container to shrink if content is not large enough.\r\n\r\nThis solves :\r\n@media (min-width: 75em) {\r\n  .container {\r\n    max-width: 72.25rem;\r\n    width: 72.25rem;\r\n  }\r\n}\r\n\r\n"}}