Shrink vertical padding on feed answer group

This commit is contained in:
James Grugett 2022-05-13 16:16:46 -04:00
parent e660acab56
commit 8ce3a09471

View File

@ -934,7 +934,7 @@ function FeedAnswerGroup(props: {
<Col
className={
type === 'answer'
? 'border-base-200 bg-base-200 flex-1 rounded-md p-3'
? 'border-base-200 bg-base-200 flex-1 rounded-md px-2'
: 'flex-1 gap-2'
}
>
@ -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="absolute -mx-2 h-full rounded-tl-md bg-green-600 bg-opacity-10"
style={{ width: `${100 * Math.max(prob, 0.01)}%` }}
></div>
)}