1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-30 13:03:53 +01:00

Fix #234 Save notification hidden by elements with high z-index (#235)

Set Z-index to the maximum value so it is always on top
https://stackoverflow.com/a/25461690/1961513
This commit is contained in:
Félicien FRANCOIS 2017-09-15 13:55:50 +02:00 committed by Kyle Spearrin
parent 9ee016251a
commit 1ea07a6ced

View File

@ -219,7 +219,7 @@
var frameDiv = document.createElement('div');
frameDiv.id = 'bit-notification-bar';
frameDiv.style.cssText = 'height: 42px; width: 100%; top: 0; left: 0; padding: 0; position: fixed; z-index: 1000000099; visibility: visible;';
frameDiv.style.cssText = 'height: 42px; width: 100%; top: 0; left: 0; padding: 0; position: fixed; z-index: 2147483647; visibility: visible;';
frameDiv.appendChild(iframe);
document.body.appendChild(frameDiv);