Skip to content

Commit

Permalink
Resolve #673
Browse files Browse the repository at this point in the history
  • Loading branch information
the-djmaze committed Nov 16, 2022
1 parent ff81aa6 commit e5ef0ea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev/Knoin/Knoin.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const

// Firefox < 98 / Safari < 15.4 HTMLDialogElement not defined
if (!vmDom.showModal) {
vmDom.className = 'polyfill';
vmDom.showModal = () => {
vmDom.backdrop ||
vmDom.before(vmDom.backdrop = Element.fromHTML('<div class="dialog-backdrop"></div>'));
Expand Down
9 changes: 9 additions & 0 deletions integrations/nextcloud/snappymail/css/embed.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,15 @@ body > header ul {
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
* https://github.com/the-djmaze/snappymail/issues/96#issuecomment-1279783076
Expand Down

0 comments on commit e5ef0ea

Please sign in to comment.