twitter/bootstrap — Issue #877: Add sidebar width variable
Author: otm
Created: 2012-01-02 20:30:07+00:00
State: open

Please add a variable for the column width to make it easier to control.

// Sidebars (left and right options)
.fluid-sidebar-left,
.fluid-sidebar-right {
width: @sidebar-width;
}
.fluid-sidebar-left { float: left; }
.fluid-sidebar-right { float: right; }
// The main content area
.fluid-content {
margin-left: @sidebar-width + 20 ;
}
// Reverse layout for sidebar on right
.fluid-container.reverse .fluid-content {
margin-left: 0;
margin-right: @sidebar-width + 20;