diff --git a/app/assets/javascripts/monitoring/components/graph/deployment.vue b/app/assets/javascripts/monitoring/components/graph/deployment.vue index 32ca08fdbc0..026e2fd0c49 100644 --- a/app/assets/javascripts/monitoring/components/graph/deployment.vue +++ b/app/assets/javascripts/monitoring/components/graph/deployment.vue @@ -64,6 +64,14 @@ } return xPosition; }, + + svgContainerHeight(tag) { + let svgHeight = 80; + if (!tag) { + svgHeight -= 20; + } + return svgHeight; + }, }, }; @@ -97,14 +105,14 @@ :x="positionFlag(deployment)" y="0" width="134" - height="80"> + :height="svgContainerHeight(deployment.tag)"> + :height="svgContainerHeight(deployment.tag) - 2"> + :y="3">