Profile / Rating Icon: Various fixes

This commit is contained in:
Alexander Zinchuk 2025-10-15 19:57:21 +02:00
parent 888e65cf6c
commit 8325bd7dbb
2 changed files with 3 additions and 4 deletions

View File

@ -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 {

View File

@ -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}