Skip to content

Commit 17430aa

Browse files
committed
Handle z-index non-statically
1 parent d1bc403 commit 17430aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extension/inline.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ webpg.inline = {
831831
});
832832
webpg.jq(toolbar).find('ul.webpg-action-list, ul.webpg-subaction-list').css({
833833
'position': 'absolute', 'top': '100%', 'left': '-2px',
834-
'z-index': '9999', 'float': 'left', 'display': 'none',
834+
'z-index': 'auto', 'float': 'left', 'display': 'none',
835835
'min-width': '234px', 'padding': '0', 'margin': '0',
836836
'list-style': 'none', 'background-color': '#ffffff',
837837
'border-color': '#ccc', 'border-color': 'rgba(0, 0, 0, 0.2)',
@@ -1548,7 +1548,7 @@ webpg.inline = {
15481548
iframe.style.width = "99%";
15491549
iframe.style.minHeight = "220px";
15501550
iframe.style.backgroundColor = "#efefef";
1551-
iframe.style.zIndex = "9999";
1551+
iframe.style.zIndex = "auto";
15521552
if (this.mode === "icon")
15531553
iframe.style.display = 'none';
15541554
webpg.utils._onRequest.addListener(function(request) {

0 commit comments

Comments
 (0)