From 9c7256ca63eafa273cdc554e55cd7b7f2a7bbe38 Mon Sep 17 00:00:00 2001 From: Freek Bes <36384333+FreekBes@users.noreply.github.com> Date: Thu, 13 Jan 2022 21:34:49 +0100 Subject: [PATCH] fix rounded user images in tooltips --- css/improv.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/css/improv.css b/css/improv.css index bbe494a..82791a3 100644 --- a/css/improv.css +++ b/css/improv.css @@ -395,6 +395,19 @@ textarea { cursor: default !important; } +/* add box shadow to tooltips */ +.tooltip-content { + box-shadow: 0px 0px 3px -1px #000 !important; +} + +/* fix border radius for tooltip user images */ +.tooltip-content .tooltip-img.rounded[style*="intra.42.fr/users/"] { + background-size: cover !important; + width: 60px !important; + height: 60px !important; + border-radius: 30px !important; +} + /* remove weird margin from profile banner containers */ @media (max-width: 991px) { .profile-item .profile-item-top.home-banner .profile-right-box {