aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/sidebar/AllLists.tsx
diff options
context:
space:
mode:
authorShivam Dua <trugamr@live.in>2024-09-30 01:23:00 +0530
committerGitHub <noreply@github.com>2024-09-29 20:53:00 +0100
commit8fe1927323b5e44354f43a5c1243fcd49c02f762 (patch)
tree710eacc7f41d88962edf8f505048f0bb1c975272 /apps/web/components/dashboard/sidebar/AllLists.tsx
parent36fb5a4c63aada8e8107b8e9d97a6ba128d13494 (diff)
downloadkarakeep-8fe1927323b5e44354f43a5c1243fcd49c02f762.tar.zst
fix(web): Improve SidebarItem tap target accessibility (#409)
Diffstat (limited to 'apps/web/components/dashboard/sidebar/AllLists.tsx')
-rw-r--r--apps/web/components/dashboard/sidebar/AllLists.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/web/components/dashboard/sidebar/AllLists.tsx b/apps/web/components/dashboard/sidebar/AllLists.tsx
index b1c6ddb2..15bed88a 100644
--- a/apps/web/components/dashboard/sidebar/AllLists.tsx
+++ b/apps/web/components/dashboard/sidebar/AllLists.tsx
@@ -39,19 +39,19 @@ export default function AllLists({
logo={<span className="text-lg">📋</span>}
name="All Lists"
path={`/dashboard/lists`}
- className="py-0.5"
+ linkClassName="py-0.5"
/>
<SidebarItem
logo={<span className="text-lg">⭐️</span>}
name="Favourites"
path={`/dashboard/favourites`}
- className="py-0.5"
+ linkClassName="py-0.5"
/>
<SidebarItem
logo={<span className="text-lg">🗄️</span>}
name="Archive"
path={`/dashboard/archive`}
- className="py-0.5"
+ linkClassName="py-0.5"
/>
{
@@ -86,7 +86,7 @@ export default function AllLists({
</Button>
</ListOptions>
}
- className="group py-0.5"
+ linkClassName="group py-0.5"
style={{ marginLeft: `${level * 1}rem` }}
/>
)}