Skip to content

Commit fec07f5

Browse files
committed
edited text color and took out comments
1 parent 03ad4ec commit fec07f5

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/webview/Flow.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ const OverviewFlow = () => {
7373
nodeBorderRadius={2}
7474
/>
7575
<Panel position="top-left">
76-
<div className="border-1 border-gray-500">
76+
<div className="text-black">
7777
<div className="flex justify-end place-items-end shadow-lg bg-slate-50 w-20 h-15">
78-
<p className="pl-2 pr-2 py-2">Client: <span className="border-1 border-gray-500 bg-orange-300 text-transparent rounded-full">00</span></p>
78+
<p className="pl-2 pr-2 py-2">Client: <span className="bg-orange-300 text-transparent rounded-full">00</span></p>
7979
</div>
8080
<div className="flex justify-end place-items-end shadow-lg bg-slate-50 w-20 h-15">
8181
<p className="pl-2 pr-2 pb-2">Server: <span className="bg-blue-300 text-transparent rounded-full">00</span></p>

src/webview/flowBuilder.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,12 @@ class FlowBuilder {
2121
parsedData.forEach((item) => {
2222
const node = {
2323
id: (++this.id).toString(),
24-
data: { // `py-2 px-9 shadow-lg rounded-md border-2 border-gray-500 flex justify-center place-items-center
24+
data: {
2525
label: (
2626
<div className="text-sm font-medium text-ellipsis overflow-hidden ..." key={this.id}>{item.fileName}</div>
2727
)
2828
},
2929
// type: item.depth === 0 ? 'input' : '',
30-
// type: item.isClientComponent ? 'input' : 'output',
3130
type: 'default',
3231
position: { x: x += 40, y: y += 30 },
3332
style: {

0 commit comments

Comments
 (0)