fix: vertically center scroll arrows in All Apps category tab (#28937)
Co-authored-by: akash-moradiya <[email protected]> Co-authored-by: Romit <[email protected]> Co-authored-by: Sahitya Chandra <[email protected]>
This commit is contained in:
1 file changed
+4
-4
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user