mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Replace my old ResizeObserver workaround for RainLoop bugs with proper CSS flex.
And removed wysiwyg resize() in favor of flexbox.
This commit is contained in:
parent
d305e090c5
commit
789dc264f7
11 changed files with 386 additions and 441 deletions
6
dev/External/SquireUI.js
vendored
6
dev/External/SquireUI.js
vendored
|
|
@ -540,12 +540,6 @@ class SquireUI
|
|||
focus() {
|
||||
('plain' == this.mode ? this.plain : this.squire).focus();
|
||||
}
|
||||
|
||||
resize(width, height) {
|
||||
height = Math.max(200, (height - this.wysiwyg.offsetTop)) + 'px';
|
||||
this.wysiwyg.style.height = height;
|
||||
this.plain.style.height = height;
|
||||
}
|
||||
}
|
||||
|
||||
this.SquireUI = SquireUI;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue