Skip to content
Open
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
8 changes: 6 additions & 2 deletions pages/project/[[...slug]]/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,10 @@ function MetricCard({ metric, onSelect, isActive }) {
{data && (
<dd className='mt-1 flex justify-between items-baseline md:block lg:flex'>
{data?.average && (
<div className='flex items-baseline text-2xl font-semibold text-wordpress'>
<div
className='flex items-baseline text-2xl font-semibold text-wordpress cursor-help'
title='Average of last 20 commits (normalized value for historical consistency)'
>
{formatNumber(data.average)}
</div>
)}
Expand All @@ -241,8 +244,9 @@ function MetricCard({ metric, onSelect, isActive }) {
'bg-green-100 text-green-800': sentiment === 'positive',
'bg-red-100 text-red-800': sentiment === 'negative'
},
'inline-flex items-baseline px-2.5 py-0.5 rounded-full text-sm font-medium md:mt-2 lg:mt-0'
'inline-flex items-baseline px-2.5 py-0.5 rounded-full text-sm font-medium md:mt-2 lg:mt-0 cursor-help'
)}
title='Change compared to previous 20 commits'
>
{sentiment !== 'neutral' && (
<>
Expand Down