Skip to content

Commit 36744f2

Browse files
fix: issue related to zoom controls (#438)
1 parent bf1228b commit 36744f2

File tree

3 files changed

+19
-13
lines changed

3 files changed

+19
-13
lines changed

src/index.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,7 @@ html {
132132
top: 50%;
133133
transform: translateY(-50%);
134134
}
135+
136+
.react-flow__controls-button svg {
137+
background-color: transparent !important;
138+
}

src/ui/components/lineage/index.module.scss

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@
2828
display: flex;
2929
flex-direction: row-reverse;
3030
font-family: Arial, Helvetica, sans-serif !important;
31-
border: 1px solid #443E99 !important;
31+
border: 1px solid #443e99 !important;
3232
border-radius: 4px;
3333
font-size: 8px;
3434
background: #ffffff;
3535
min-width: 6rem;
3636
}
37-
.stepBody:hover{
37+
.stepBody:hover {
3838
display: flex;
3939
flex-direction: row-reverse;
4040
font-family: Arial, Helvetica, sans-serif !important;
41-
border: 1px solid #443E9980 !important;
41+
border: 1px solid #443e9980 !important;
4242
border-radius: 4px;
4343
font-size: 8px;
4444
background-color: #f5f4ff;
@@ -50,7 +50,7 @@
5050
display: flex;
5151
flex-direction: row-reverse;
5252
font-family: Arial, Helvetica, sans-serif !important;
53-
border: 3px solid #443E99 !important;
53+
border: 3px solid #443e99 !important;
5454
border-radius: 4px;
5555
font-size: 8px;
5656
background: #ffffff;
@@ -60,7 +60,7 @@
6060
display: flex;
6161
flex-direction: row-reverse;
6262
font-family: Arial, Helvetica, sans-serif !important;
63-
border: 3px solid #443E99 !important;
63+
border: 3px solid #443e99 !important;
6464
border-radius: 4px;
6565
font-size: 8px;
6666
background: #f5f4ff;
@@ -103,8 +103,7 @@
103103
clip-path: polygon(0 0, 100% 0%, 75% 100%, 0% 100%);
104104
}
105105

106-
.nodeContainer
107-
{
106+
.nodeContainer {
108107
display: flex;
109108
flex-direction: column;
110109
align-items: center;
@@ -189,20 +188,17 @@
189188
width: 100%;
190189
padding-left: 20px;
191190
padding-right: 20px;
192-
background-color: "pink";
191+
background-color: 'pink';
193192
justify-content: center;
194193
align-items: center;
195194
}
196195

197-
198196
.closeArrow {
199197
height: 500px;
200198
width: 500px;
201199
background-color: aqua;
202200
}
203201

204-
205-
206202
// SIDE BAR
207203

208204
.sidebarMainContainer {
@@ -230,7 +226,7 @@
230226
z-index: -1000;
231227
}
232228

233-
.btnContainer>img {
229+
.btnContainer > img {
234230
z-index: -1000;
235231
}
236232

src/ui/components/lineage/index.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,13 @@ export const LayoutFlow: React.FC<any> = (graph: any) => {
230230
}}
231231
fitView
232232
>
233-
<Controls />
233+
<Controls
234+
style={{
235+
top: '0px',
236+
bottom: '50%',
237+
boxShadow: 'none',
238+
}}
239+
/>
234240
</ReactFlow>
235241
</div>
236242
</div>

0 commit comments

Comments
 (0)