forked from github/plane
fix: project and workspace view list flicker on hover fix (#3777)
This commit is contained in:
parent
18b5115546
commit
9c50ee39c3
@ -80,7 +80,7 @@ export const ProjectViewListItem: React.FC<Props> = observer((props) => {
|
||||
<DeleteProjectViewModal data={view} isOpen={deleteViewModal} onClose={() => setDeleteViewModal(false)} />
|
||||
<div className="group border-b border-custom-border-200 hover:bg-custom-background-90">
|
||||
<Link href={`/${workspaceSlug}/projects/${projectId}/views/${view.id}`}>
|
||||
<div className="relative flex w-full items-center justify-between rounded p-4">
|
||||
<div className="relative flex h-[52px] w-full items-center justify-between rounded p-4">
|
||||
<div className="flex w-full items-center justify-between">
|
||||
<div className="flex items-center gap-4 overflow-hidden">
|
||||
<div className="flex flex-col overflow-hidden ">
|
||||
|
@ -15,7 +15,7 @@ export const GlobalDefaultViewListItem: React.FC<Props> = observer((props) => {
|
||||
return (
|
||||
<div className="group border-b border-custom-border-200 hover:bg-custom-background-90">
|
||||
<Link href={`/${workspaceSlug}/workspace-views/${view.key}`}>
|
||||
<div className="relative flex w-full items-center justify-between rounded px-5 py-4">
|
||||
<div className="relative flex w-full h-[52px] items-center justify-between rounded px-5 py-4">
|
||||
<div className="flex w-full items-center justify-between">
|
||||
<div className="flex items-center gap-4">
|
||||
<div className="flex flex-col">
|
||||
|
@ -39,7 +39,7 @@ export const GlobalViewListItem: React.FC<Props> = observer((props) => {
|
||||
<DeleteGlobalViewModal data={view} isOpen={deleteViewModal} onClose={() => setDeleteViewModal(false)} />
|
||||
<div className="group border-b border-custom-border-200 hover:bg-custom-background-90">
|
||||
<Link href={`/${workspaceSlug}/workspace-views/${view.id}`}>
|
||||
<div className="relative flex w-full items-center justify-between rounded p-4">
|
||||
<div className="relative flex h-[52px] w-full items-center justify-between rounded p-4">
|
||||
<div className="flex w-full items-center justify-between">
|
||||
<div className="flex items-center gap-4">
|
||||
<div className="flex flex-col">
|
||||
|
Loading…
Reference in New Issue
Block a user