mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-20 22:23:53 +08:00
Increment max width for sidebar
This commit is contained in:
parent
f74ee7b6c2
commit
6b274593dd
2 changed files with 12 additions and 11 deletions
|
@ -11,7 +11,7 @@ class AccountSidebar extends React.Component
|
|||
@containerRequired: false
|
||||
@containerStyles:
|
||||
minWidth: 165
|
||||
maxWidth: 210
|
||||
maxWidth: 250
|
||||
|
||||
constructor: (@props) ->
|
||||
@state = @_getStateFromStores()
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue