finish fixes

pull/5370/head
Joseph Izang 2 years ago committed by Aniket
parent 16c8c9d780
commit f68b44bd4a
  1. 4
      libs/remix-ui/workspace/src/lib/components/file-render.tsx
  2. 13
      libs/remix-ui/workspace/src/lib/css/remix-ui-workspace.css
  3. 4
      libs/remix-ui/workspace/src/lib/remix-ui-workspace.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) => {

@ -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)
}

@ -391,7 +391,7 @@ export function Workspace () {
<span className="pl-3">{'Rename'}</span>
</div>
</OverlayTrigger>,
<Dropdown.Divider className="border dro pdown-hr" />,
<Dropdown.Divider className="border mb-0 mt-0" />,
<OverlayTrigger
placement="right-start"
overlay={
@ -503,7 +503,7 @@ export function Workspace () {
<div className="d-flex justify-content-between">
<span className="d-flex align-items-end">
<label className="pl-1 form-check-label" htmlFor="workspacesSelect">
Workspaces
WORKSPACES
</label>
</span>
<span className="remixui_menu remixui_topmenu d-flex justify-content-between align-items-end w-75">

Loading…
Cancel
Save