From cfd45acbed7e4082b47068af0003fe604bc9bec8 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:07:02 +0200 Subject: [PATCH] Change date-button position: {absolute => fixed}. --- date-button/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/date-button/index.js b/date-button/index.js index 3477c2e..12783b6 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.5 +// @version 0.1.6 // @author hugo@lysator.liu.se // @match *://*/* // @description Inputs the current date into the current text field. @@ -106,7 +106,7 @@ let style = document.createElement('style'); style.textContent = ` #${btn_id} { - position: absolute; + position: fixed; top: 1em; left: 1em; z-index: 10000; -- GitLab