From 5e5c5728a15c003f06b9bfd53590e5a3c8514d52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= <hugo@lysator.liu.se> Date: Mon, 6 Jun 2022 23:10:44 +0200 Subject: [PATCH] Move button to bottom of screen. --- date-button/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/date-button/index.js b/date-button/index.js index 12783b6..bdc604f 100644 --- a/date-button/index.js +++ b/date-button/index.js @@ -1,7 +1,7 @@ // ==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; -- GitLab