Skip to content

Commit 2675f1e

Browse files
committed
use scrollbars on edge tools menu if content is too large on y-axis
1 parent 326fa79 commit 2675f1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/extensions/react-flow/edges/_edges.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ path.react-flow__edge-path-highlight {
258258
min-height: $reactflow-node-basesize;
259259
max-height: $reactflow-node-basesize * 13;
260260
padding: $eccgui-size-block-whitespace * 0.5;
261+
overflow-y: auto;
261262
}
262263

263264
// Arrows
@@ -288,13 +289,13 @@ path.react-flow__edge-path-highlight {
288289
width: auto;
289290
max-width: 20rem;
290291
height: 0.5 * $reactflow-node-largesize;
292+
padding: 0 $eccgui-size-block-whitespace * 0.25;
291293
font-size: $reactflow-node-font-size;
292294
color: var(--#{$eccgui}-reactflow-edge-label-color, currentColor);
293295
background-color: var(--#{$eccgui}-reactflow-edge-label-color-background, #{$card-background-color});
294296
border: 0.5 * $reactflow-node-border-width solid transparent;
295297
border-color: var(--#{$eccgui}-reactflow-edge-label-color, currentColor);
296298
border-radius: $reactflow-node-border-radius;
297-
padding: 0 $eccgui-size-block-whitespace * 0.25;
298299

299300
&.#{$eccgui}-graphviz__edge-label--loose {
300301
background-color: transparent;

0 commit comments

Comments
 (0)