Skip to content
Snippets Groups Projects
Commit cfd45acb authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Change date-button position: {absolute => fixed}.

parent 1b670282
Branches
No related tags found
No related merge requests found
// ==UserScript== // ==UserScript==
// @name Date Button // @name Date Button
// @namespace http://hugo.hornquist.se // @namespace http://hugo.hornquist.se
// @version 0.1.5 // @version 0.1.6
// @author hugo@lysator.liu.se // @author hugo@lysator.liu.se
// @match *://*/* // @match *://*/*
// @description Inputs the current date into the current text field. // @description Inputs the current date into the current text field.
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
let style = document.createElement('style'); let style = document.createElement('style');
style.textContent = ` style.textContent = `
#${btn_id} { #${btn_id} {
position: absolute; position: fixed;
top: 1em; top: 1em;
left: 1em; left: 1em;
z-index: 10000; z-index: 10000;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment