Skip to content

Commit

Permalink
Adjust button size in task list header and update uploader padding
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunkomath committed Jan 23, 2025
1 parent 309f778 commit e6ba602
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/project/file/uploader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function FileUploader({
return (
<div
{...getRootProps()}
className="flex items-center rounded-full border border-gray-100 bg-gray-50 px-3 py-1.5 dark:border-gray-800 dark:bg-gray-900"
className="flex items-center rounded-full border border-gray-100 bg-gray-50 px-3 py-1 dark:border-gray-800 dark:bg-gray-900"
>
<input {...getInputProps()} disabled={loading} />
<p className="text-sm">Drop files here!</p>
Expand Down
4 changes: 4 additions & 0 deletions components/project/tasklist/tasklist-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export const TaskListHeader = ({
className={buttonVariants({
variant: "ghost",
className: "w-full",
size: "sm",
})}
prefetch={false}
>
Expand All @@ -113,6 +114,7 @@ export const TaskListHeader = ({
<Button
variant="ghost"
className="w-full"
size="sm"
onClick={async () => {
if (!partialUpdateTaskList) return;
toast.promise(
Expand All @@ -136,6 +138,7 @@ export const TaskListHeader = ({
<Button
variant="ghost"
className="w-full"
size="sm"
onClick={async () => {
toast.promise(forkTaskList(taskList.id, taskList.projectId), {
loading: "Creating new task list...",
Expand All @@ -151,6 +154,7 @@ export const TaskListHeader = ({
<Button
variant="destructive"
className="w-full"
size="sm"
onClick={async () => {
toast.promise(
deleteTaskList({
Expand Down

0 comments on commit e6ba602

Please sign in to comment.