Skip to content

Commit

Permalink
Left / Right buttons now bottom-aligned and slightly shorter (#6857)
Browse files Browse the repository at this point in the history
Fixes #6589
  • Loading branch information
AaronPresley authored and zomars committed Feb 8, 2023
1 parent c1f6d56 commit ea37dfe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/ui/components/apps/AllApps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ function CategoryTab({ selectedCategory, categories, searchText }: CategoryTabPr
})}
</h2>
{leftVisible && (
<button onClick={handleLeft} className="absolute top-9 flex md:left-1/2 md:-top-1">
<div className="flex h-12 w-5 items-center justify-end bg-white">
<button onClick={handleLeft} className="absolute bottom-0 flex md:left-1/2 md:-top-1">
<div className="flex h-10 w-5 items-center justify-end bg-white">
<FiChevronLeft className="h-4 w-4 text-gray-500" />
</div>
<div className="flex h-12 w-5 bg-gradient-to-l from-transparent to-white" />
<div className="flex h-10 w-5 bg-gradient-to-l from-transparent to-white" />
</button>
)}
<ul
Expand Down Expand Up @@ -118,9 +118,9 @@ function CategoryTab({ selectedCategory, categories, searchText }: CategoryTabPr
))}
</ul>
{rightVisible && (
<button onClick={handleRight} className="absolute top-9 right-0 flex md:-top-1">
<div className="flex h-12 w-5 bg-gradient-to-r from-transparent to-white" />
<div className="flex h-12 w-5 items-center justify-end bg-white">
<button onClick={handleRight} className="absolute bottom-0 right-0 flex md:-top-1">
<div className="flex h-10 w-5 bg-gradient-to-r from-transparent to-white" />
<div className="flex h-10 w-5 items-center justify-end bg-white">
<FiChevronRight className="h-4 w-4 text-gray-500" />
</div>
</button>
Expand Down

0 comments on commit ea37dfe

Please sign in to comment.