Commit 96006dd7 authored by Martin Wortschack's avatar Martin Wortschack

Merge branch '6830-fix-contribution-analytics-styling' into 'master'

Fix spacing on contributions analytics charts

Closes #6830

See merge request gitlab-org/gitlab!20701
parents af61f3f9 37944b8d
...@@ -55,13 +55,13 @@ export default { ...@@ -55,13 +55,13 @@ export default {
vbWidth: 0, vbWidth: 0,
vbHeight: 0, vbHeight: 0,
vpWidth: 0, vpWidth: 0,
vpHeight: 350, vpHeight: 200,
preserveAspectRatioType: 'xMidYMid meet', preserveAspectRatioType: 'xMidYMin meet',
containerMargin: { containerMargin: {
leftRight: 30, leftRight: 30,
}, },
viewBoxMargin: { viewBoxMargin: {
topBottom: 150, topBottom: 100,
}, },
panX: 0, panX: 0,
xScale: {}, xScale: {},
...@@ -274,6 +274,7 @@ export default { ...@@ -274,6 +274,7 @@ export default {
<div ref="svgContainer" :class="activateGrabCursor" class="svg-graph-container"> <div ref="svgContainer" :class="activateGrabCursor" class="svg-graph-container">
<svg <svg
ref="baseSvg" ref="baseSvg"
class="svg-graph overflow-visible pt-5"
:width="vpWidth" :width="vpWidth"
:height="vpHeight" :height="vpHeight"
:viewBox="svgViewBox" :viewBox="svgViewBox"
......
...@@ -442,6 +442,7 @@ img.emoji { ...@@ -442,6 +442,7 @@ img.emoji {
.ws-normal { white-space: normal; } .ws-normal { white-space: normal; }
.ws-pre-wrap { white-space: pre-wrap; } .ws-pre-wrap { white-space: pre-wrap; }
.overflow-auto { overflow: auto; } .overflow-auto { overflow: auto; }
.overflow-visible { overflow: visible; }
.d-flex-center { .d-flex-center {
display: flex; display: flex;
......
---
title: Fix styling on contribution analytics dashboard
merge_request: 207012
author: briankabiro
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment