From d213c2f17897aac450ff30dde4bf8aa564d09cc9 Mon Sep 17 00:00:00 2001 From: Sangelo Date: Fri, 22 Mar 2024 22:26:44 +0100 Subject: [PATCH 1/2] [c] tooltip css fixes --- src/styles/socials.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/styles/socials.scss b/src/styles/socials.scss index 490f470..a11e6e2 100644 --- a/src/styles/socials.scss +++ b/src/styles/socials.scss @@ -128,6 +128,7 @@ visibility: hidden; background-color: $space-gray-tooltip; color: $white; + width: max-content; text-align: center; border-radius: 6px; padding: 5px 10px; From e845705829dfa754914c5b223297d8c43105fbff Mon Sep 17 00:00:00 2001 From: Sangelo Date: Fri, 22 Mar 2024 22:35:46 +0100 Subject: [PATCH 2/2] [c] fix css for tooltip again --- src/styles/socials.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/styles/socials.scss b/src/styles/socials.scss index a11e6e2..aeaba87 100644 --- a/src/styles/socials.scss +++ b/src/styles/socials.scss @@ -128,7 +128,6 @@ visibility: hidden; background-color: $space-gray-tooltip; color: $white; - width: max-content; text-align: center; border-radius: 6px; padding: 5px 10px; @@ -140,11 +139,12 @@ opacity: 0; transition: opacity ease-in-out 0.1s; } - + .tooltiptext { z-index: 1001; user-select: none; cursor: default; + width: max-content; } .tooltip:hover .tooltiptext {