Fix an issue with priority in taskmodal
This commit is contained in:
parent
2782b52dac
commit
0d3ed13007
2 changed files with 3 additions and 2 deletions
|
|
@ -160,11 +160,12 @@ const PriorityDropdown: React.FC<PriorityDropdownProps> = ({
|
|||
onClick={() =>
|
||||
handleSelect(priority.value as PriorityType)
|
||||
}
|
||||
className="flex items-center justify-center px-4 py-2 text-sm text-gray-900 dark:text-gray-100 hover:bg-gray-100 dark:hover:bg-gray-600 w-full first:rounded-t-md last:rounded-b-md"
|
||||
className="flex items-center space-x-2 px-4 py-2 text-sm text-gray-900 dark:text-gray-100 hover:bg-gray-100 dark:hover:bg-gray-600 w-full first:rounded-t-md last:rounded-b-md"
|
||||
data-testid={`priority-option-${priority.value || 'none'}`}
|
||||
title={priority.label}
|
||||
>
|
||||
{priority.icon}
|
||||
<span>{priority.label}</span>
|
||||
</button>
|
||||
))}
|
||||
</div>,
|
||||
|
|
|
|||
|
|
@ -536,7 +536,7 @@ const Tasks: React.FC = () => {
|
|||
|
||||
return (
|
||||
<div
|
||||
className={`w-full pt-4 pb-8 ${isUpcomingView ? 'pl-2 sm:pl-4' : 'px-2 sm:px-4 lg:px-6'}`}
|
||||
className={`w-full pt-4 pb-8 ${isUpcomingView ? 'pl-4 sm:pl-6 md:pl-8' : 'px-2 sm:px-4 lg:px-6'}`}
|
||||
>
|
||||
<div
|
||||
className={`w-full ${isUpcomingView ? '' : 'max-w-5xl mx-auto'}`}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue