From: Paul Hänsch Date: Wed, 29 Sep 2021 21:49:14 +0000 (+0200) Subject: bugfix tooltips X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=af27357b013bf25c762dabe45733b9402ad581f8;p=cgilite bugfix tooltips --- diff --git a/common.css b/common.css index d6a9316..71bead6 100644 --- a/common.css +++ b/common.css @@ -109,7 +109,8 @@ input + label { *[tooltip]:hover:after { display: block; position: absolute; - bottom: -100%; left: 50%; transform: translate(-50%, 0); + min-width: 12em; + bottom: 100%; left: 50%; transform: translate(-50%, 0); content: attr(tooltip); padding: .5em; color: #000; background-color: #FFC;