Adjust z-index for the Direct Download link
authorAntonio Ospite <ospite@studenti.unina.it>
Sun, 12 Feb 2012 10:27:53 +0000 (11:27 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Sun, 12 Feb 2012 10:28:42 +0000 (11:28 +0100)
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
direct_download_links.user.js

index 8253247..89fa057 100644 (file)
@@ -212,6 +212,7 @@ function _add_link(e) {
     style += ' border: 2px solid red;'
     style += ' float: right; font-size: large;';
     style += ' padding: .5em; margin: 1em;'
+    style += ' position: relative; z-index: 1000;'
     download_link.setAttribute('style', style);
 
     destination.insertBefore(download_link, destination.firstChild);