Merge pull request #2438 from ethereum/FEScroll

fixed width and wrap of FE nodes
pull/5370/head
yann300 3 years ago committed by GitHub
commit a45b77046b
  1. 2
      apps/remix-ide-e2e/src/tests/fileManager_api.test.ts
  2. 2
      libs/remix-ui/tree-view/src/lib/remix-ui-tree-view.tsx
  3. 2
      libs/remix-ui/workspace/src/lib/components/file-label.tsx

@ -71,7 +71,7 @@ module.exports = {
.addFile('mkdirFile.js', { content: executeMkdir }) .addFile('mkdirFile.js', { content: executeMkdir })
.executeScript('remix.exeCurrent()') .executeScript('remix.exeCurrent()')
.pause(2000) .pause(2000)
.waitForElementPresent('[data-id="treeViewLitreeViewItemTest_Folder"]', 60000) .waitForElementPresent('[data-id="treeViewLitreeViewItemTest_Folder"]', 80000)
}, },
'Should execute `readdir` api from file manager external api #group3': function (browser: NightwatchBrowser) { 'Should execute `readdir` api from file manager external api #group3': function (browser: NightwatchBrowser) {

@ -7,7 +7,7 @@ export const TreeView = (props: TreeViewProps) => {
const { children, id, ...otherProps } = props const { children, id, ...otherProps } = props
return ( return (
<ul data-id={`treeViewUl${id}`} className="ul_tv ml-0 px-2" { ...otherProps }> <ul data-id={`treeViewUl${id}`} className="ul_tv ml-0 pl-2" { ...otherProps }>
{ children } { children }
</ul> </ul>
) )

@ -57,7 +57,7 @@ export const FileLabel = (props: FileLabelProps) => {
> >
<span <span
title={file.path} title={file.path}
className={'remixui_label ' + (file.isDirectory ? 'folder' : 'remixui_leaf')} className={'text-nowrap remixui_label ' + (file.isDirectory ? 'folder' : 'remixui_leaf')}
data-path={file.path} data-path={file.path}
> >
{ file.name } { file.name }

Loading…
Cancel
Save