mirror of
https://github.com/nextcloud/server.git
synced 2026-06-07 15:53:04 -04:00
Merge pull request #44725 from nextcloud/backport/44717/stable29
[stable29] fix(oc-dialog): Get rid of the overlay
This commit is contained in:
commit
884eb0cb48
4 changed files with 6 additions and 6 deletions
|
|
@ -4,7 +4,7 @@
|
|||
border-radius: var(--border-radius-large);
|
||||
box-shadow: 0 0 30px var(--color-box-shadow);
|
||||
padding: 24px;
|
||||
z-index: 10000;
|
||||
z-index: 100001;
|
||||
font-size: 100%;
|
||||
box-sizing: border-box;
|
||||
min-width: 200px;
|
||||
|
|
@ -69,7 +69,7 @@
|
|||
.oc-dialog-dim {
|
||||
background-color: #000;
|
||||
opacity: .2;
|
||||
z-index: 9999;
|
||||
z-index: 100001;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
|
|
|||
2
core/src/jquery/ocdialog.js
vendored
2
core/src/jquery/ocdialog.js
vendored
|
|
@ -234,7 +234,7 @@ $.widget('oc.ocdialog', {
|
|||
}
|
||||
this.overlay = $('<div>')
|
||||
.addClass('oc-dialog-dim')
|
||||
.appendTo(contentDiv)
|
||||
.insertBefore(this.$dialog)
|
||||
this.overlay.on('click keydown keyup', function(event) {
|
||||
if (event.target !== self.$dialog.get(0) && self.$dialog.find($(event.target)).length === 0) {
|
||||
event.preventDefault()
|
||||
|
|
|
|||
4
dist/core-main.js
vendored
4
dist/core-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-main.js.map
vendored
2
dist/core-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue