mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve #673
This commit is contained in:
parent
ff81aa6abc
commit
e5ef0eaa6a
2 changed files with 10 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ const
|
||||||
|
|
||||||
// Firefox < 98 / Safari < 15.4 HTMLDialogElement not defined
|
// Firefox < 98 / Safari < 15.4 HTMLDialogElement not defined
|
||||||
if (!vmDom.showModal) {
|
if (!vmDom.showModal) {
|
||||||
|
vmDom.className = 'polyfill';
|
||||||
vmDom.showModal = () => {
|
vmDom.showModal = () => {
|
||||||
vmDom.backdrop ||
|
vmDom.backdrop ||
|
||||||
vmDom.before(vmDom.backdrop = Element.fromHTML('<div class="dialog-backdrop"></div>'));
|
vmDom.before(vmDom.backdrop = Element.fromHTML('<div class="dialog-backdrop"></div>'));
|
||||||
|
|
|
||||||
|
|
@ -105,6 +105,15 @@ body > header ul {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Firefox < 98
|
||||||
|
* https://github.com/the-djmaze/snappymail/issues/673
|
||||||
|
*/
|
||||||
|
#rl-app dialog.polyfill {
|
||||||
|
margin-top: 50px;
|
||||||
|
max-height: calc(100vh - 60px);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hampoelz
|
* hampoelz
|
||||||
* https://github.com/the-djmaze/snappymail/issues/96#issuecomment-1279783076
|
* https://github.com/the-djmaze/snappymail/issues/96#issuecomment-1279783076
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue