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

Move button to bottom of screen.

parent cfd45acb
No related branches found
No related tags found
No related merge requests found
// ==UserScript==
// @name Date Button
// @namespace http://hugo.hornquist.se
// @version 0.1.6
// @version 0.1.7
// @author hugo@lysator.liu.se
// @match *://*/*
// @description Inputs the current date into the current text field.
......@@ -107,11 +107,11 @@
style.textContent = `
#${btn_id} {
position: fixed;
top: 1em;
left: 1em;
bottom: 0;
right: 1em;
z-index: 10000;
background: lightgray;
border: 2px solid black;
background: lightgray;
border: 2px solid black;
}
#${btn_id}:focus {
background: pink;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment