Increment max width for sidebar

This commit is contained in:
Juan Tejada 2016-01-28 01:29:18 -08:00
parent 21f0afd825
commit 19edb34599
2 changed files with 12 additions and 11 deletions

View file

@ -11,7 +11,7 @@ class AccountSidebar extends React.Component
@containerRequired: false
@containerStyles:
minWidth: 165
maxWidth: 210
maxWidth: 250
constructor: (@props) ->
@state = @_getStateFromStores()

View file

@ -73,16 +73,17 @@ class Sheet extends React.Component
@state.columns.map (column, idx) =>
{maxWidth, minWidth, handle, location, width} = column
if minWidth != maxWidth and maxWidth < FLEX
<ResizableRegion key={"#{@props.data.id}:#{idx}"}
name={"#{@props.data.id}:#{idx}"}
className={"column-#{location.id}"}
style={height:'100%'}
data-column={idx}
onResize={@_onColumnResize.bind(@, column)}
initialWidth={width}
minWidth={minWidth}
maxWidth={maxWidth}
handle={handle}>
<ResizableRegion
key={"#{@props.data.id}:#{idx}"}
name={"#{@props.data.id}:#{idx}"}
className={"column-#{location.id}"}
style={height:'100%'}
data-column={idx}
onResize={@_onColumnResize.bind(@, column)}
initialWidth={width}
minWidth={minWidth}
maxWidth={maxWidth}
handle={handle}>
<InjectedComponentSet direction="column" matching={location: location, mode: @state.mode}/>
</ResizableRegion>
else