diff --git a/libs/remix-ui/workspace/src/lib/components/file-render.tsx b/libs/remix-ui/workspace/src/lib/components/file-render.tsx index a4fc7a2747..9d906a34d4 100644 --- a/libs/remix-ui/workspace/src/lib/components/file-render.tsx +++ b/libs/remix-ui/workspace/src/lib/components/file-render.tsx @@ -54,13 +54,13 @@ export const FileRender = (props: RenderFileProps) => { const handleFolderClick = (event: SyntheticEvent) => { event.stopPropagation() if (props.focusEdit.element !== file.path) props.handleClickFolder(file.path, file.type) - props.hideIconsMenu(!props.showIconsMenu) + if (props.showIconsMenu === true) props.hideIconsMenu(!props.showIconsMenu) } const handleFileClick = (event: SyntheticEvent) => { event.stopPropagation() if (props.focusEdit.element !== file.path) props.handleClickFile(file.path, file.type) - props.hideIconsMenu(!props.showIconsMenu) + if (props.showIconsMenu === true) props.hideIconsMenu(!props.showIconsMenu) } const handleContextMenu = (event: PointerEvent) => { diff --git a/libs/remix-ui/workspace/src/lib/css/remix-ui-workspace.css b/libs/remix-ui/workspace/src/lib/css/remix-ui-workspace.css index 7c5cc717a8..2eddcc4eb6 100644 --- a/libs/remix-ui/workspace/src/lib/css/remix-ui-workspace.css +++ b/libs/remix-ui/workspace/src/lib/css/remix-ui-workspace.css @@ -113,3 +113,16 @@ #workspacesMenuDropdown > div.custom-dropdown-items { min-width: 8rem; } + + .remixui_menuhr{ + + } + + #workspacesMenuDropdown>div>ul>a:nth-child(6):hover { + background-color: rgba(0,0,0,0) + } + + #workspacesMenuDropdown>div>ul>a:nth-child(4):hover { + background-color: rgba(0, 0, 0, 0) + } + diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index 33640f3c9b..25975f37b4 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -391,7 +391,7 @@ export function Workspace () { {'Rename'} , - , + ,