Skip to content

Commit

Permalink
adjusted pencil and trash sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
Hudamabkhoot committed Oct 18, 2024
1 parent 17b8d6e commit 32e36d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/ListItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export function ListItem({
<Dialog open={isOpen} onOpenChange={() => handleOpenModal(id)}>
<DialogTrigger asChild>
<Button className="bg-transparent hover:bg-transparent p-0">
<Pencil className="w-5 h-5 md:w-6 md:h-6 text-light-grey hover:text-opacity-75 dark:text-emerald-500 dark:hover:text-opacity-80 transform hover:scale-110 transition-transform duration-150 sm:hover:scale-125" />
<Pencil className="w-5 h-5 text-light-grey hover:text-opacity-75 dark:text-emerald-500 dark:hover:text-opacity-80 transform hover:scale-110 transition-transform duration-150 sm:hover:scale-125" />
</Button>
</DialogTrigger>
<DialogContent>
Expand Down Expand Up @@ -146,7 +146,7 @@ export function ListItem({
id={id}
onClick={() => setIsAlertOpen(true)}
>
<Trash2 className="w-5 h-5 md:w-6 md:h-6 text-gray-600 hover:text-opacity-75 dark:text-emerald-500 dark:hover:text-opacity-80 transform hover:scale-110 transition-transform duration-150 sm:hover:scale-125" />
<Trash2 className="w-5 h-5 text-gray-600 hover:text-opacity-75 dark:text-emerald-500 dark:hover:text-opacity-80 transform hover:scale-110 transition-transform duration-150 sm:hover:scale-125" />
</Button>
</AlertDialogTrigger>
<AlertDialogContent className="p-6 sm:p-10">
Expand Down
8 changes: 4 additions & 4 deletions src/components/SingleList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function SingleList({
aria-label="Share list"
className="text-green-500 hover:text-green-500 dark:text-ruby-pink dark:hover:text-primary-pink hover:text-opacity-80 dark:hover:text-opacity-80 transform hover:scale-110 transition-transform duration-150 sm:hover:scale-125"
>
<FaShareNodes className="w-5 h-5 md:w-6 md:h-6" />
<FaShareNodes className="w-5 h-5" />
</button>
) : (
<TooltipProvider>
Expand All @@ -100,7 +100,7 @@ export function SingleList({
type="button"
onClick={() => setIsAlertOpen(true)}
>
<FaShareNodes className="w-5 h-5 md:w-6 md:h-6 text-gray-500" />
<FaShareNodes className="w-5 h-5 text-gray-500" />
</Button>
</TooltipTrigger>
<TooltipContent>
Expand All @@ -117,7 +117,7 @@ export function SingleList({
type="button"
onClick={() => setIsAlertOpen(true)}
>
<Trash2 className="w-5 h-5 md:w-6 md:h-6 text-primary-pink hover:text-opacity-75 dark:text-emerald-500 dark:hover:text-opacity-80 transform hover:scale-110 transition-transform duration-150 sm:hover:scale-125" />
<Trash2 className="w-5 h-5 text-primary-pink hover:text-opacity-75 dark:text-emerald-500 dark:hover:text-opacity-80 transform hover:scale-110 transition-transform duration-150 sm:hover:scale-125" />
</Button>
</AlertDialogTrigger>
<AlertDialogContent>
Expand Down Expand Up @@ -155,7 +155,7 @@ export function SingleList({
type="button"
onClick={() => setIsAlertOpen(true)}
>
<Trash2 className="w-5 h-5 md:w-6 text-gray-500" />
<Trash2 className="w-5 h-5 text-gray-500" />
</Button>
</TooltipTrigger>
<TooltipContent>
Expand Down

0 comments on commit 32e36d7

Please sign in to comment.