fix menu and create icon sizes

pull/3023/head
Joseph Izang 2 years ago committed by Aniket
parent d3338bb575
commit 440526a0a5
  1. 4
      libs/remix-ui/helper/src/lib/components/custom-dropdown.tsx
  2. 5
      libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx

@ -27,10 +27,10 @@ export const CustomIconsToggle = React.forwardRef(({ onClick, icon, className =
e.preventDefault()
onClick()
}}
className={`${className.replace('dropdown-toggle', '')} mb-0 pb-0 d-flex justify-content-end align-items-end remixuimenuicon_shadow`}
className={`${className.replace('dropdown-toggle', '')} mb-0 pb-0 d-flex justify-content-end align-items-end remixuimenuicon_shadow fs-3`}
data-id="workspaceMenuDropdown"
>
{ icon && <i className={`${icon}`} data-icon="workspaceDropdownMenuIcon"></i> }
{ icon && <i style={{ fontSize: 'large' }} className={`${icon}`} data-icon="workspaceDropdownMenuIcon"></i> }
</span>
))

@ -394,7 +394,7 @@ export function Workspace () {
<OverlayTrigger
placement="right-start"
overlay={
<Tooltip id="createWorkspaceTooltip" className="text-nowrap">
<Tooltip id="cloneWorkspaceTooltip" className="text-nowrap">
<span>Clone Git Repository</span>
</Tooltip>
}
@ -418,7 +418,7 @@ export function Workspace () {
_paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'cloneGitRepository'])
hideIconsMenu(!showIconsMenu)
}}
className='far fa-clone pl-2'
className='fab fa-github pl-2'
>
</span>
<span className="pl-3">{'Clone'}</span>
@ -523,6 +523,7 @@ export function Workspace () {
createWorkspace()
_paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'workspaceCreate'])
}}
style={{ fontSize: 'large' }}
className='far fa-plus remixui_menuicon d-flex align-self-end'
>
</span>

Loading…
Cancel
Save