mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
#rl-content to use flex for better layout control
This commit is contained in:
parent
cfcc8c73af
commit
8047a36b70
8 changed files with 42 additions and 70 deletions
|
|
@ -256,11 +256,10 @@ export class AppUser extends AbstractApp {
|
|||
// initLeftSideLayoutResizer
|
||||
setTimeout(() => {
|
||||
const left = elementById('rl-left'),
|
||||
right = elementById('rl-right'),
|
||||
fToggle = () =>
|
||||
setLayoutResizer(left, right, ClientSideKeyNameFolderListSize,
|
||||
setLayoutResizer(left, null, ClientSideKeyNameFolderListSize,
|
||||
(ThemeStore.isMobile() || leftPanelDisabled()) ? 0 : 'Width');
|
||||
if (left && right) {
|
||||
if (left) {
|
||||
fToggle();
|
||||
leftPanelDisabled.subscribe(fToggle);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue