{"issue":{"created_at":"2011-11-26T05:02:39Z","state":"open","updated_at":"2011-11-26T05:02:39Z","user":{"gravatar_id":"08597e0ecd8b57a9f2a01de6c2d31b9b","id":1218685,"url":"https://api.github.com/users/jackieshaffer","login":"jackieshaffer","avatar_url":"https://secure.gravatar.com/avatar/08597e0ecd8b57a9f2a01de6c2d31b9b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":0,"body":"Suggestion to add variable for sidebar width.\r\n\r\n## variable.less add to GRIDS section:\r\n\r\n```css\r\n\r\n@sidebarWidth:      240px;\r\n\r\n```\r\n\r\n## in scaffolding.less UPDATE\r\n\r\n```css\r\n// Fluid layouts (left aligned, with sidebar, min- & max-width content)\r\n.fluid-container {\r\n  position: relative;\r\n  min-width: 940px;\r\n  padding-left: 20px;\r\n  padding-right: 20px;\r\n  .clearfix();\r\n}\r\n// Sidebars (left and right options)\r\n.fluid-sidebar-left,\r\n.fluid-sidebar-right {\r\n  width: 220px;\r\n}\r\n.fluid-sidebar-left   { float: left; }\r\n.fluid-sidebar-right  { float: right; }\r\n// The main content area\r\n.fluid-content {\r\n  margin-left: 240px;\r\n}\r\n// Reverse layout for sidebar on right\r\n.fluid-container.reverse .fluid-content {\r\n  margin-left: 0;\r\n  margin-right: 240px;\r\n}\r\n\r\n```\r\n\r\n## TO\r\n\r\n```css\r\n\r\n// Fluid layouts (left aligned, with sidebar, min- & max-width content)\r\n.fluid-container {\r\n  position: relative;\r\n  min-width: 940px;\r\n  padding-left: @gridGutterWidth;\r\n  padding-right: @gridGutterWidth;\r\n  .clearfix();\r\n}\r\n// Sidebars (left and right options)\r\n.fluid-sidebar-left,\r\n.fluid-sidebar-right {\r\n  width: (@sidebarWidth - @gridGutterWidth);\r\n}\r\n.fluid-sidebar-left   { float: left; }\r\n.fluid-sidebar-right  { float: right; }\r\n// The main content area\r\n.fluid-content {\r\n  margin-left: @sidebarWidth;\r\n}\r\n// Reverse layout for sidebar on right\r\n.fluid-container.reverse .fluid-content {\r\n  margin-left: 0;\r\n  margin-right: @sidebarWidth;\r\n}\r\n\r\n```\r\n","assignee":null,"id":2354175,"number":697,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"adding sidbar width variable","closed_at":null,"html_url":"https://github.com/twitter/bootstrap/issues/697","milestone":null,"url":"https://api.github.com/repos/twitter/bootstrap/issues/697"},"action":"opened"}