From eb9a39c5c471702f773aafe4cd47ba6375b5b7f3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 12 Mar 2022 10:55:56 +0500 Subject: index.html: prevent button jumps --- index.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'index.html') diff --git a/index.html b/index.html index 9ce3b24..460f771 100644 --- a/index.html +++ b/index.html @@ -21,6 +21,13 @@ html, body { text-align: center; min-height: 100vh; } + +/* This is cool: https://stackoverflow.com/a/33298969/514684 + * Makes sure the button doesn't jump up. */ +#note:empty:after { + content: '\200B'; + visibility: hidden; +} -- cgit v1.2.3