Skip to content

Commit 2736da6

Browse files
committed
adjust minimap and attribution position
1 parent c193934 commit 2736da6

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

src/extensions/react-flow/_react-flow_v12.scss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,15 @@ svg.react-flow__connectionline {
3030
position: absolute;
3131
right: 0;
3232
bottom: 0;
33-
z-index: 1;
34-
padding: 2px 3px;
33+
z-index: 10;
34+
padding: $eccgui-size-inline-whitespace * 0.5 $eccgui-size-inline-whitespace;
3535
margin: 0;
36-
font-size: 10px;
37-
background: var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));
36+
font-size: $eccgui-size-typo-caption * 0.61;
37+
background: transparent;
38+
opacity: $eccgui-opacity-muted;
3839
}
3940

4041
.react-flow__attribution a {
41-
color: #999;
42+
color: $eccgui-color-workspace-text;
4243
text-decoration: none;
4344
}

src/extensions/react-flow/minimap/_minimap.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
.react-flow__minimap {
2+
right: $eccgui-size-block-whitespace * 0.5 !important;
3+
bottom: $eccgui-size-block-whitespace !important;
24
border: solid 1px $eccgui-color-separation-divider;
35

46
& > svg {

0 commit comments

Comments
 (0)