Make text underneath filled green answer bar selectable

This commit is contained in:
James Grugett 2022-05-15 22:46:20 -04:00
parent ee91a94466
commit 727d85ddac

View File

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