[WEB-2365] fix: Minor UI in-consistencies cause by tooltip changes (#5545)
* Fix minor in-consistencies caused by tooltip on hover changes * fix linting
This commit is contained in:
parent
1032bc75d7
commit
751cd6c862
6 changed files with 9 additions and 6 deletions
|
|
@ -109,7 +109,7 @@ const TransparentButton: React.FC<ButtonProps> = (props) => {
|
|||
>
|
||||
<div
|
||||
className={cn(
|
||||
"h-full flex items-center gap-1.5 rounded text-xs px-2 py-0.5 hover:bg-custom-background-80",
|
||||
"h-full w-full flex items-center gap-1.5 rounded text-xs px-2 py-0.5 hover:bg-custom-background-80",
|
||||
{ "bg-custom-background-80": isActive },
|
||||
className
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -243,7 +243,7 @@ const TransparentButton = (props: ButtonProps) => {
|
|||
>
|
||||
<div
|
||||
className={cn(
|
||||
"h-full flex items-center gap-1.5 rounded text-xs px-2 py-0.5 hover:bg-custom-background-80",
|
||||
"h-full w-full flex items-center gap-1.5 rounded text-xs px-2 py-0.5 hover:bg-custom-background-80",
|
||||
priorityClasses[priority ?? "none"],
|
||||
{
|
||||
// compact the icons if text is hidden
|
||||
|
|
|
|||
|
|
@ -22,9 +22,10 @@ import {
|
|||
} from "@/components/issues";
|
||||
// constants
|
||||
import { ILayoutDisplayFiltersOptions } from "@/constants/issue";
|
||||
// hooks
|
||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||
// plane web components
|
||||
import { FilterIssueTypes } from "@/plane-web/components/issues";
|
||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||
|
||||
type Props = {
|
||||
filters: IIssueFilterOptions;
|
||||
|
|
|
|||
|
|
@ -167,7 +167,6 @@ export const IssueBlock = observer((props: IssueBlockProps) => {
|
|||
</>
|
||||
}
|
||||
disabled={issue.project_id === projectId}
|
||||
renderByDefault={false}
|
||||
>
|
||||
<div className="flex-shrink-0 grid place-items-center w-3.5 absolute left-1">
|
||||
<MultipleSelectEntityAction
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@ import { ISearchIssueResponse } from "@plane/types";
|
|||
import { Loader, ToggleSwitch, Tooltip } from "@plane/ui";
|
||||
// components
|
||||
import { IssueSearchModalEmptyState } from "@/components/core";
|
||||
// helpers
|
||||
import { getTabIndex } from "@/helpers/tab-indices.helper";
|
||||
// hooks
|
||||
import useDebounce from "@/hooks/use-debounce";
|
||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||
|
|
@ -19,7 +21,6 @@ import { usePlatformOS } from "@/hooks/use-platform-os";
|
|||
import { IssueIdentifier } from "@/plane-web/components/issues";
|
||||
// services
|
||||
import { ProjectService } from "@/services/project";
|
||||
import { getTabIndex } from "@/helpers/tab-indices.helper";
|
||||
|
||||
type Props = {
|
||||
isOpen: boolean;
|
||||
|
|
|
|||
|
|
@ -7,8 +7,10 @@ import { FilterCreatedBy, FilterCreatedDate } from "@/components/common/filters"
|
|||
import { FilterOption } from "@/components/issues";
|
||||
// constants
|
||||
import { EViewAccess } from "@/constants/views";
|
||||
import { FilterByAccess } from "@/plane-web/components/views/filters/access-filter";
|
||||
// hooks
|
||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||
// plane web components
|
||||
import { FilterByAccess } from "@/plane-web/components/views/filters/access-filter";
|
||||
|
||||
type Props = {
|
||||
filters: TViewFilters;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue