Skip to content

Commit a73f8d2

Browse files
authored
1250: Add right margin for Resource Access percentages (#1562)
1 parent 2e98435 commit a73f8d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/src/components/d3/createResourceAccessChart.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ function createResourceAccessChart ({ data, width, height, domElement }) {
122122
mainMargin.top = miniMargin.top, mainHeight = miniHeight, mainMargin.bottom = miniMargin.bottom
123123
*/
124124

125-
const mainWidth = availWidth * 0.55
125+
const mainWidth = availWidth * 0.525
126126
const mainHeight = availHeight * 0.7
127127
const mainMargin = {
128128
top: availHeight * 0.15,
129-
right: 0,
129+
right: availWidth * 0.025,
130130
bottom: availHeight * 0.15,
131131
left: availWidth * 0.225
132132
}

0 commit comments

Comments
 (0)