From 8325bd7dbb6fac623c269a0f789cb974bc1a628b Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Wed, 15 Oct 2025 19:57:21 +0200 Subject: [PATCH] Profile / Rating Icon: Various fixes --- src/components/common/profile/ProfileInfo.module.scss | 3 +-- src/components/common/profile/ProfileInfo.tsx | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/common/profile/ProfileInfo.module.scss b/src/components/common/profile/ProfileInfo.module.scss index e4a9c369b..be3025320 100644 --- a/src/components/common/profile/ProfileInfo.module.scss +++ b/src/components/common/profile/ProfileInfo.module.scss @@ -282,7 +282,6 @@ } .userRatingWrapper { - width: 1rem; font-size: 1.5rem; } @@ -290,7 +289,7 @@ pointer-events: none; paint-order: stroke fill; - -webkit-text-stroke: 2px var(--rating-outline-color); + -webkit-text-stroke: 3px var(--rating-outline-color); } .ratingNegativeIcon { diff --git a/src/components/common/profile/ProfileInfo.tsx b/src/components/common/profile/ProfileInfo.tsx index df7858b69..e66c8ac55 100644 --- a/src/components/common/profile/ProfileInfo.tsx +++ b/src/components/common/profile/ProfileInfo.tsx @@ -482,8 +482,8 @@ const ProfileInfo = ({ isPlain && styles.plain, )} style={buildStyle( - profileColorSet && `--rating-outline-color: ${isExpanded ? 'transparent' : profileColorSet?.bgColors[1]}`, - profileColorSet && !isExpanded && `--rating-text-color: ${profileColorSet?.bgColors[1]}`, + profileColorSet && `--rating-outline-color: ${isExpanded ? 'transparent' : profileColorSet?.bgColors[0]}`, + profileColorSet && !isExpanded && `--rating-text-color: ${profileColorSet?.bgColors[0]}`, createVtnStyle('profileInfo', true), )} dir={lang.isRtl ? 'rtl' : undefined}