Merge pull request #6227 from deepak-bhardwaj-ps/fix-system-diagram

fix: Sys Diagram clipped if wider than container
This commit is contained in:
Fredrik Adelöw
2021-06-28 16:06:42 +02:00
committed by GitHub
3 changed files with 11 additions and 2 deletions
@@ -262,7 +262,7 @@ export function DependencyGraph({
<svg
ref={containerRef}
{...svgProps}
width={maxWidth}
width="100%"
height={maxHeight}
viewBox={`0 0 ${maxWidth} ${maxHeight}`}
>