From e845705829dfa754914c5b223297d8c43105fbff Mon Sep 17 00:00:00 2001 From: Sangelo Date: Fri, 22 Mar 2024 22:35:46 +0100 Subject: [PATCH] [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 {