Shrink vertical padding on feed answer group
This commit is contained in:
parent
e660acab56
commit
8ce3a09471
|
@ -934,7 +934,7 @@ function FeedAnswerGroup(props: {
|
||||||
<Col
|
<Col
|
||||||
className={
|
className={
|
||||||
type === 'answer'
|
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'
|
: 'flex-1 gap-2'
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
@ -950,7 +950,7 @@ function FeedAnswerGroup(props: {
|
||||||
|
|
||||||
{type == 'answer' && (
|
{type == 'answer' && (
|
||||||
<div
|
<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)}%` }}
|
style={{ width: `${100 * Math.max(prob, 0.01)}%` }}
|
||||||
></div>
|
></div>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user