Skip to content

Scheduling infrastructure for absolutely everyone.

fix: vertically center scroll arrows in All Apps category tab (#28937)

Akash Moradiyae9c6d0ee462d
diff --git a/apps/web/modules/apps/components/AllApps.tsx b/apps/web/modules/apps/components/AllApps.tsx
index 206805ca478..298ac443413 100644
--- a/apps/web/modules/apps/components/AllApps.tsx
+++ b/apps/web/modules/apps/components/AllApps.tsx
@@ -89,10 +89,10 @@ function CategoryTab({ selectedCategory, categories, searchText, onCategoryChang
</h2>
{leftVisible && (
<button onClick={handleLeft} className="absolute bottom-0 flex lg:left-1/2">
- <div className="bg-default flex h-12 w-5 items-center justify-end">
+ <div className="bg-default flex h-10 w-5 items-center justify-end">
<ChevronLeftIcon className="text-subtle h-4 w-4" />
</div>
- <div className="to-default flex h-12 w-5 bg-linear-to-l from-transparent" />
+ <div className="to-default flex h-10 w-5 bg-linear-to-l from-transparent" />
</button>
)}
<ul
@@ -129,8 +129,8 @@ function CategoryTab({ selectedCategory, categories, searchText, onCategoryChang
</ul>
{rightVisible && (
<button onClick={handleRight} className="absolute bottom-0 right-0 flex ">
- <div className="to-default flex h-12 w-5 bg-linear-to-r from-transparent" />
- <div className="bg-default flex h-12 w-5 items-center justify-end">
+ <div className="to-default flex h-10 w-5 bg-linear-to-r from-transparent" />
+ <div className="bg-default flex h-10 w-5 items-center justify-end">
<ChevronRightIcon className="text-subtle h-4 w-4" />
</div>
</button>