Skip to content

Commit

Permalink
Fixed arrow position slightly off.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Nov 9, 2023
1 parent 36191c4 commit 15fd4de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/stateless/components/proposal/ProgressBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,13 @@ export const ProgressBar = ({
</div>
))}
</div>

{caretPosition !== undefined && (
<Tooltip title={caretTooltip}>
<ArrowDropUp
className="absolute bottom-[-0.825rem] z-10 !h-6 !w-6 text-icon-primary"
style={{
left: `${caretPosition}%`,
left: `calc(${caretPosition}% - 0.75rem)`,
}}
/>
</Tooltip>
Expand Down

0 comments on commit 15fd4de

Please sign in to comment.