소스 검색

Fix scroll show in field of type properties table

Horizontal scroll appears in Wizard Options when showing field of type
'Properties Table', like the 'Execute Now Options' field.

Also, includes ability to attach the vscode debugger to an already
running Chrome process.
Sergiu Miclea 6 년 전
부모
커밋
05e4cdee04
2개의 변경된 파일10개의 추가작업 그리고 1개의 파일을 삭제
  1. 9 0
      .vscode/launch.json
  2. 1 1
      src/components/molecules/PropertiesTable/PropertiesTable.tsx

+ 9 - 0
.vscode/launch.json

@@ -10,6 +10,15 @@
       "name": "Launch Chrome against localhost",
       "url": "http://localhost:3001",
       "webRoot": "${workspaceFolder}"
+    },
+    // Launch Chrome like this: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222
+    {
+      "type": "chrome",
+      "request": "attach",
+      "name": "Attach to Chrome",
+      "port": 9222,
+      "urlFilter": "http://localhost:3001/*",
+      "webRoot": "${workspaceFolder}"
     }
   ]
 }

+ 1 - 1
src/components/molecules/PropertiesTable/PropertiesTable.tsx

@@ -28,7 +28,7 @@ import { Field, EnumItem, isEnumSeparator } from '../../../@types/Field'
 
 const Wrapper = styled.div<any>`
   display: flex;
-  ${props => (props.width ? `width: ${props.width}px;` : '')}
+  ${props => (props.width ? `width: ${props.width - 2}px;` : '')}
   flex-direction: column;
   border: 1px solid ${Palette.grayscale[2]};
   border-radius: ${StyleProps.borderRadius};