]> git.plutz.net Git - rawnet/commitdiff
Squashed 'cgilite/' changes from 7459611..af27357
authorPaul Hänsch <paul@plutz.net>
Wed, 29 Sep 2021 21:51:24 +0000 (23:51 +0200)
committerPaul Hänsch <paul@plutz.net>
Wed, 29 Sep 2021 21:51:24 +0000 (23:51 +0200)
af27357 bugfix tooltips

git-subtree-dir: cgilite
git-subtree-split: af27357b013bf25c762dabe45733b9402ad581f8

common.css

index d6a931604d58c17c0fb0124a739a194f8d61de27..71bead6e26485069ff5c4cfc0ca17cd4a87bea69 100644 (file)
@@ -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;