Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,14 @@
}
}

.tooltipText {
z-index: 20;
white-space: normal;
max-width: 240px;
word-wrap: break-word;
font-size: 14px;
}

:global(#start-hiring-form) {
min-height: 380px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ const ProfileHeader: FC<ProfileHeaderProps> = (props: ProfileHeaderProps) => {
[state?.queriedSkills],
)

const activeTooltipText = canEdit ? `You have been active in the past 3 months.
(this information is visible to you only)` : `${props.profile.firstName} has been active in the past 3 months.`

useEffect(() => {
if (props.authProfile && editMode === profileEditModes.names) {
setIsNameEditMode(true)
Expand Down Expand Up @@ -111,9 +114,10 @@ const ProfileHeader: FC<ProfileHeaderProps> = (props: ProfileHeaderProps) => {
function renderActivityStatus(): JSX.Element {
return (
<Tooltip
content='You have been active in the past 3 months. (this information is visible to you only)'
content={activeTooltipText}
triggerOn='hover'
place='top'
className={styles.tooltipText}
>
<div className={styles.activeBadge}>
Active
Expand Down
Loading