mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-34300 JavaScript: Stop YUI from forcing z-index on moodle-core-notification
This commit is contained in:
parent
cce0d9a100
commit
694c4c87ac
2 changed files with 5 additions and 1 deletions
4
lib/yui/notification/notification.js
vendored
4
lib/yui/notification/notification.js
vendored
|
@ -77,6 +77,10 @@ Y.extend(DIALOGUE, Y.Panel, {
|
|||
this.after('visibleChange', this.visibilityChanged, this);
|
||||
this.render();
|
||||
this.show();
|
||||
|
||||
// Workaround upstream YUI bug http://yuilibrary.com/projects/yui3/ticket/2532507
|
||||
// and allow setting of z-index in theme.
|
||||
this.get('boundingBox').setStyle('zIndex', null);
|
||||
},
|
||||
visibilityChanged : function(e) {
|
||||
var titlebar;
|
||||
|
|
|
@ -864,7 +864,7 @@ sup {vertical-align: super;}
|
|||
background: none;
|
||||
border: none;
|
||||
/* Override the z-index set incorrectly by the YUI dialogue */
|
||||
z-index: 600!important;
|
||||
z-index: 600;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue