computing-pi: move fraction dot onto the H/T row's bottom border
This commit is contained in:
parent
80ae2ecaa8
commit
f752b45810
1 changed files with 1 additions and 1 deletions
|
|
@ -295,7 +295,7 @@ const RunTile: React.FC<RunTileProps> = ({ index, run, clickable, onClick }) =>
|
||||||
{run.sequence.length > 0 && (
|
{run.sequence.length > 0 && (
|
||||||
<span
|
<span
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
className="pointer-events-none absolute top-1/2 -translate-x-1/2 -translate-y-1/2 w-1.5 h-1.5 rounded-full bg-foreground"
|
className="pointer-events-none absolute bottom-0 -translate-x-1/2 translate-y-1/2 w-1.5 h-1.5 rounded-full bg-foreground"
|
||||||
style={{ left: `${(run.heads / run.sequence.length) * 100}%` }}
|
style={{ left: `${(run.heads / run.sequence.length) * 100}%` }}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue