Skip to content

Commit 58ba114

Browse files
committed
css changes made to the render frequency scss file
1 parent 4da973d commit 58ba114

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

src/app/components/ComponentMap.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ export default function ComponentMap({
320320
fill={node.children ? '#161521' : '#62d6fb'}
321321
// node.data.isExpanded = if node is collapsed
322322
// stroke={(node.data.isExpanded && node.child) ? '#95fb62' : '#a69ff5'} => node.child is gone when clicked, even if it actually has children. Maybe better call node.children => node.leaf
323-
stroke={(node.data.isExpanded && node.data.children.length > 0) ? '#ff6569' : 'none'}
324-
strokeWidth={3}
323+
stroke={(node.data.isExpanded && node.data.children.length > 0) ? '#ff6569' : '#4D4D4D'}
324+
strokeWidth={1.5}
325325
// strokeDasharray={node.children ? '0' : '2,2'}
326326
strokeOpacity="1"
327327
rx={node.children ? 4 : 10}

src/app/styles/components/_renderingFrequency.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
height: 25vw;
1414
overflow-y: scroll;
1515
overflow-wrap: break-word;
16+
overscroll-behavior: contain;
1617
}
1718

1819
.DataComponent {
@@ -24,6 +25,7 @@
2425
height: 40vw;
2526
overflow-y: scroll;
2627
overflow-wrap: break-word;
28+
overscroll-behavior: contain;
2729
}
2830

2931

@@ -98,10 +100,17 @@
98100
}
99101

100102
.RenderRight {
103+
cursor: pointer;
101104
padding-right: 5px;
102105
border-right: 5px;
103106
background: $blue-color-gradient;
104107
width: 50px;
105108
padding: 0 0.5em;
106109
right: 10%;
110+
opacity: 70%;
111+
transition: 0.3s;
112+
}
113+
114+
.RenderRight:hover {
115+
opacity: 100%;
107116
}

0 commit comments

Comments
 (0)