Make text underneath filled green answer bar selectable

This commit is contained in:
James Grugett 2022-05-15 22:46:20 -04:00
parent 95367685b8
commit 0c84b39438

View File

@ -950,7 +950,7 @@ function FeedAnswerGroup(props: {
{type == 'answer' && (
<div
className="absolute -m-3 h-full rounded-tl-md bg-green-600 bg-opacity-10"
className="pointer-events-none absolute -m-3 h-full rounded-tl-md bg-green-600 bg-opacity-10"
style={{ width: `${100 * Math.max(prob, 0.01)}%` }}
></div>
)}