fix: resolve rounding on <TasksPage /> control (#21810)

This pull-request resolves a really annoying issue with the `<TasksPage
/>` switcher control. Essentially every time I navigated to this page my
eyes were drawn to this button that felt out of place. I finally figured
out why and its that its breaking the first rules of nested rounded
corners.

We should be using the following math to calculate the roundedness. 

```
outerRadius - gap = innerRadius
```

<img width="852" height="596" alt="button-rounding"
src="https://github.com/user-attachments/assets/89de5d98-0891-4c9d-a5aa-66f722796630"
/>
This commit is contained in:
Jake Howell
2026-02-02 15:48:58 +11:00
committed by GitHub
parent 6ac77f2236
commit 41d0f5c38b
+1 -1
View File
@@ -180,7 +180,7 @@ const TasksPage: FC = () => {
className="mt-6 flex justify-between"
aria-label="Controls"
>
<div className="flex items-center bg-surface-secondary rounded p-1">
<div className="flex items-center bg-surface-secondary rounded-lg p-1">
<PillButton
active={tab.value === "all"}
onClick={() => {