Decrease container minWidth to allow window to snap to half a screen (#2283)

This commit is contained in:
Janosch Maier 2021-02-14 19:43:55 +01:00 committed by GitHub
parent 4549bf5ec5
commit ae3d88f191
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -47,7 +47,7 @@ const PREF_DESCENDING_ORDER = 'core.reading.descendingOrderMessageList';
class MessageList extends React.Component<{}, MessageListState> {
static displayName = 'MessageList';
static containerStyles = {
minWidth: 500,
minWidth: 480,
maxWidth: 999999,
};

View file

@ -69,7 +69,7 @@ export class SidebarPluginContainer extends React.Component {
static containerStyles = {
order: 1,
flexShrink: 0,
minWidth: 200,
minWidth: 150,
maxWidth: 300,
};

View file

@ -34,7 +34,7 @@ class ThreadList extends React.Component<{}, { style: string; syncing: boolean }
static displayName = 'ThreadList';
static containerStyles = {
minWidth: DOMUtils.getWorkspaceCssNumberProperty('thread-list-min-width', 300),
minWidth: DOMUtils.getWorkspaceCssNumberProperty('thread-list-min-width', 100),
maxWidth: DOMUtils.getWorkspaceCssNumberProperty('thread-list-max-width', 3000),
};